Download the PHP package corex/ioc without Composer
On this page you can find all versions of the php package corex/ioc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package ioc
CoRex IoC
This is a simple container helping managing class dependencies and performing dependency injection.
Methods.
- getInstance() - Get instance of container.
- clear() - Clear container for all bindings and instances.
- getBindings() - Get bindings.
- getBinding() - Get specific binding.
- has() - Check if class or interface has been bound.
- hasInstance() - Check if class or interface has been instantiated.
- isShared() - Check if class or interface is shared/is a singleton.
- isSingleton() - Check if class or interface is shared/is a singleton.
- forget() - Forget specified binding and instance.
- bind() - Bind class or instance.
- singleton() - Bind class or instance as shared/singleton.
- instance() - Set instance on existing binding.
- make() - Make instance of class or interface.
Create a container.
Make a class without binding.
Make a class with binding and parameters.
- When making a class via bound interface, the instance class will be checked if it implements the bound interface.
- When making a class via bound base-class, the instance class will be checked if it extends the bound base class.
All versions of ioc with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package corex/ioc contains the following files
Loading the files please wait ....