BearFramework\App\Container

Dependency Injection container

BearFramework\App\Container {

    /* Methods */
    public void set ( string $name , string|object|callable $value )
    public object get ( string $name )
    public boolen exists ( string $name )

}

Methods

BearFramework\App\Container::exists - Returns information about whether the service is added
BearFramework\App\Container::get - Returns a object and returns it
BearFramework\App\Container::set - Registeres a value for the specified name