| [ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 622 lines (14 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Definition:: (45 methods):
__construct()
setFactoryClass()
getFactoryClass()
setFactoryMethod()
getFactoryMethod()
setFactoryService()
getFactoryService()
setClass()
getClass()
setArguments()
setProperties()
getProperties()
setProperty()
addArgument()
replaceArgument()
getArguments()
getArgument()
setMethodCalls()
addMethodCall()
removeMethodCall()
hasMethodCall()
getMethodCalls()
setTags()
getTags()
getTag()
addTag()
hasTag()
clearTag()
clearTags()
setFile()
getFile()
setScope()
getScope()
setPublic()
isPublic()
setSynchronized()
isSynchronized()
setLazy()
isLazy()
setSynthetic()
isSynthetic()
setAbstract()
isAbstract()
setConfigurator()
getConfigurator()
Class: Definition - X-Ref
Definition represents a service definition.| __construct($class = null, array $arguments = array() X-Ref |
param: string $class The service class param: array $arguments An array of arguments to pass to the service constructor |
| setFactoryClass($factoryClass) X-Ref |
| Sets the name of the class that acts as a factory using the factory method, which will be invoked statically. param: string $factoryClass The factory class name return: Definition The current instance |
| getFactoryClass() X-Ref |
| Gets the factory class. return: string The factory class name |
| setFactoryMethod($factoryMethod) X-Ref |
| Sets the factory method able to create an instance of this class. param: string $factoryMethod The factory method name return: Definition The current instance |
| getFactoryMethod() X-Ref |
| Gets the factory method. return: string The factory method name |
| setFactoryService($factoryService) X-Ref |
| Sets the name of the service that acts as a factory using the factory method. param: string $factoryService The factory service id return: Definition The current instance |
| getFactoryService() X-Ref |
| Gets the factory service id. return: string The factory service id |
| setClass($class) X-Ref |
| Sets the service class. param: string $class The service class return: Definition The current instance |
| getClass() X-Ref |
| Gets the service class. return: string The service class |
| setArguments(array $arguments) X-Ref |
| Sets the arguments to pass to the service constructor/factory method. param: array $arguments An array of arguments return: Definition The current instance |
| setProperties(array $properties) X-Ref |
| No description |
| getProperties() X-Ref |
| No description |
| setProperty($name, $value) X-Ref |
| No description |
| addArgument($argument) X-Ref |
| Adds an argument to pass to the service constructor/factory method. param: mixed $argument An argument return: Definition The current instance |
| replaceArgument($index, $argument) X-Ref |
| Sets a specific argument. param: int $index param: mixed $argument return: Definition The current instance |
| getArguments() X-Ref |
| Gets the arguments to pass to the service constructor/factory method. return: array The array of arguments |
| getArgument($index) X-Ref |
| Gets an argument to pass to the service constructor/factory method. param: int $index return: mixed The argument value |
| setMethodCalls(array $calls = array() X-Ref |
| Sets the methods to call after service initialization. param: array $calls An array of method calls return: Definition The current instance |
| addMethodCall($method, array $arguments = array() X-Ref |
| Adds a method to call after service initialization. param: string $method The method name to call param: array $arguments An array of arguments to pass to the method call return: Definition The current instance |
| removeMethodCall($method) X-Ref |
| Removes a method to call after service initialization. param: string $method The method name to remove return: Definition The current instance |
| hasMethodCall($method) X-Ref |
| Check if the current definition has a given method to call after service initialization. param: string $method The method name to search for return: bool |
| getMethodCalls() X-Ref |
| Gets the methods to call after service initialization. return: array An array of method calls |
| setTags(array $tags) X-Ref |
| Sets tags for this definition. param: array $tags return: Definition the current instance |
| getTags() X-Ref |
| Returns all tags. return: array An array of tags |
| getTag($name) X-Ref |
| Gets a tag by name. param: string $name The tag name return: array An array of attributes |
| addTag($name, array $attributes = array() X-Ref |
| Adds a tag for this definition. param: string $name The tag name param: array $attributes An array of attributes return: Definition The current instance |
| hasTag($name) X-Ref |
| Whether this definition has a tag with the given name. param: string $name return: bool |
| clearTag($name) X-Ref |
| Clears all tags for a given name. param: string $name The tag name return: Definition |
| clearTags() X-Ref |
| Clears the tags for this definition. return: Definition The current instance |
| setFile($file) X-Ref |
| Sets a file to require before creating the service. param: string $file A full pathname to include return: Definition The current instance |
| getFile() X-Ref |
| Gets the file to require before creating the service. return: string The full pathname to include |
| setScope($scope) X-Ref |
| Sets the scope of the service. param: string $scope Whether the service must be shared or not return: Definition The current instance |
| getScope() X-Ref |
| Returns the scope of the service. return: string |
| setPublic($boolean) X-Ref |
| Sets the visibility of this service. param: bool $boolean return: Definition The current instance |
| isPublic() X-Ref |
| Whether this service is public facing. return: bool |
| setSynchronized($boolean) X-Ref |
| Sets the synchronized flag of this service. param: bool $boolean return: Definition The current instance |
| isSynchronized() X-Ref |
| Whether this service is synchronized. return: bool |
| setLazy($lazy) X-Ref |
| Sets the lazy flag of this service. param: bool $lazy return: Definition The current instance |
| isLazy() X-Ref |
| Whether this service is lazy. return: bool |
| setSynthetic($boolean) X-Ref |
| Sets whether this definition is synthetic, that is not constructed by the container, but dynamically injected. param: bool $boolean return: Definition the current instance |
| isSynthetic() X-Ref |
| Whether this definition is synthetic, that is not constructed by the container, but dynamically injected. return: bool |
| setAbstract($boolean) X-Ref |
| Whether this definition is abstract, that means it merely serves as a template for other definitions. param: bool $boolean return: Definition the current instance |
| isAbstract() X-Ref |
| Whether this definition is abstract, that means it merely serves as a template for other definitions. return: bool |
| setConfigurator($callable) X-Ref |
| Sets a configurator to call after the service is fully initialized. param: callable $callable A PHP callable return: Definition The current instance |
| getConfigurator() X-Ref |
| Gets the configurator to call after the service is fully initialized. return: callable The PHP callable to call |
| Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |