Registry of instantiated objects, their names and the parameters used to build them
getClassFromAlias()
| Parameters: | string – |
|---|---|
| Return type: | string|bool |
| Throws : | ExceptionRuntimeException |
@param string $alias
| Return type: | string|bool |
|---|---|
| Throws : | ExceptionRuntimeException |
Sets configuration for a single alias/class
| Parameters: |
|
|---|
| Parameters: |
|
|---|---|
| Return type: | void |
| Parameters: |
|
|---|---|
| Return type: | void |
Check for type preferences
| Parameters: | string – |
|---|---|
| Return type: | bool |
Set type preference
| Parameters: |
|
|---|---|
| Return type: | InstanceManager |
Get type preferences
| Parameters: | string – |
|---|---|
| Return type: | array |
Unset type preferences
| Parameters: | string – |
|---|---|
| Return type: | void |
Adds a type preference. A type preference is a redirection to a preferred alias or type when an abstract type $interfaceOrAbstract is requested
| Parameters: |
|
|---|---|
| Return type: | self |
Removes a previously set type preference
| Parameters: |
|
|---|---|
| Return type: | bool|self |