Method |
Description |
|
__construct ( array $attributes = [] ) |
Creates a new {@link \bitExpert\Disco\Annotations\Bean}. |
|
getAlias ( ) : string |
Returns the alias for the bean instance. Returns an empty string when no alias was set. |
|
isLazy ( ) : boolean |
Returns true if the Bean should be a lazily instantiated. |
|
isRequest ( ) : boolean |
Returns true if the current scope if of type Scope::REQUEST. |
|
isSession ( ) : boolean |
Returns true if the current scope if of type Scope::SESSION. |
|
isSingleton ( ) : boolean |
Returns true if the Bean should be a singleton instance. |
|