Textpattern | PHP Cross Reference | Content Management Systems |
Description: Container.
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ContainerInterface:: (3 methods):
getInstance()
remove()
register()
getInstance($alias, array $options) line: 35 |
Gets an instance for the given alias. return: object Instance of the resolved class param: string $alias The class alias param: array $options Options |
remove($alias) line: 45 |
Removes a registered class. return: \Textpattern\Container\ContainerInterface param: string $alias The alias |
register($alias, $class) line: 54 |
Registers a class. Throws an exception if the alias is taken. To replace an alias, first call remove. return: \Textpattern\Container\ContainerInterface param: string $alias The alias param: string $class The class |
title