Method | Description | |
---|---|---|
add ( string $beanId, mixed $bean ) | Adds given $bean instance (or primitive) to the bean store by the given $beanId. | |
get ( string $beanId ) : mixed | Retrieves bean instance for $beanId. | |
has ( string $beanId ) : boolean | Checks if a bean instance for $beanId exists. Will return true if an instance exists and false if no instance can be found. |