[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 973 lines (23 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Definition:: (64 methods):
__construct()
getChanges()
setChanges()
setFactory()
getFactory()
setDecoratedService()
getDecoratedService()
setClass()
getClass()
setArguments()
setProperties()
getProperties()
setProperty()
addArgument()
replaceArgument()
setArgument()
getArguments()
getArgument()
setMethodCalls()
addMethodCall()
removeMethodCall()
hasMethodCall()
getMethodCalls()
setInstanceofConditionals()
getInstanceofConditionals()
setAutoconfigured()
isAutoconfigured()
setTags()
getTags()
getTag()
addTag()
hasTag()
clearTag()
clearTags()
setFile()
getFile()
setShared()
isShared()
setPublic()
isPublic()
setPrivate()
isPrivate()
setLazy()
isLazy()
setSynthetic()
isSynthetic()
setAbstract()
isAbstract()
setDeprecated()
isDeprecated()
getDeprecationMessage()
setConfigurator()
getConfigurator()
setAutowiringTypes()
isAutowired()
setAutowired()
getAutowiringTypes()
addAutowiringType()
removeAutowiringType()
hasAutowiringType()
getBindings()
setBindings()
addError()
getErrors()
Class: Definition - X-Ref
Definition represents a service definition.__construct($class = null, array $arguments = []) X-Ref |
param: string|null $class The service class param: array $arguments An array of arguments to pass to the service constructor |
getChanges() X-Ref |
Returns all changes tracked for the Definition object. return: array An array of changes for this Definition |
setChanges(array $changes) X-Ref |
Sets the tracked changes for the Definition object. param: array $changes An array of changes for this Definition return: $this |
setFactory($factory) X-Ref |
Sets a factory. param: string|array $factory A PHP function or an array containing a class/Reference and a method to call return: $this |
getFactory() X-Ref |
Gets the factory. return: string|array|null The PHP function or an array containing a class/Reference and a method to call |
setDecoratedService($id, $renamedId = null, $priority = 0) X-Ref |
Sets the service that this service is decorating. param: string|null $id The decorated service id, use null to remove decoration param: string|null $renamedId The new decorated service id param: int $priority The priority of decoration return: $this |
getDecoratedService() X-Ref |
Gets the service that this service is decorating. return: array|null An array composed of the decorated service id, the new id for it and the priority of decoration, null if no service is decorated |
setClass($class) X-Ref |
Sets the service class. param: string $class The service class return: $this |
getClass() X-Ref |
Gets the service class. return: string|null The service class |
setArguments(array $arguments) X-Ref |
Sets the arguments to pass to the service constructor/factory method. return: $this |
setProperties(array $properties) X-Ref |
Sets the properties to define when creating the service. return: $this |
getProperties() X-Ref |
Gets the properties to define when creating the service. return: array |
setProperty($name, $value) X-Ref |
Sets a specific property. param: string $name param: mixed $value return: $this |
addArgument($argument) X-Ref |
Adds an argument to pass to the service constructor/factory method. param: mixed $argument An argument return: $this |
replaceArgument($index, $argument) X-Ref |
Replaces a specific argument. param: int|string $index param: mixed $argument return: $this |
setArgument($key, $value) X-Ref |
Sets a specific argument. param: int|string $key param: mixed $value return: $this |
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|string $index return: mixed The argument value |
setMethodCalls(array $calls = []) X-Ref |
Sets the methods to call after service initialization. return: $this |
addMethodCall($method, array $arguments = []) 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: $this |
removeMethodCall($method) X-Ref |
Removes a method to call after service initialization. param: string $method The method name to remove return: $this |
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 |
setInstanceofConditionals(array $instanceof) X-Ref |
Sets the definition templates to conditionally apply on the current definition, keyed by parent interface/class. param: ChildDefinition[] $instanceof return: $this |
getInstanceofConditionals() X-Ref |
Gets the definition templates to conditionally apply on the current definition, keyed by parent interface/class. return: ChildDefinition[] |
setAutoconfigured($autoconfigured) X-Ref |
Sets whether or not instanceof conditionals should be prepended with a global set. param: bool $autoconfigured return: $this |
isAutoconfigured() X-Ref |
return: bool |
setTags(array $tags) X-Ref |
Sets tags for this definition. return: $this |
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 = []) X-Ref |
Adds a tag for this definition. param: string $name The tag name param: array $attributes An array of attributes return: $this |
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: $this |
clearTags() X-Ref |
Clears the tags for this definition. return: $this |
setFile($file) X-Ref |
Sets a file to require before creating the service. param: string $file A full pathname to include return: $this |
getFile() X-Ref |
Gets the file to require before creating the service. return: string|null The full pathname to include |
setShared($shared) X-Ref |
Sets if the service must be shared or not. param: bool $shared Whether the service must be shared or not return: $this |
isShared() X-Ref |
Whether this service is shared. return: bool |
setPublic($boolean) X-Ref |
Sets the visibility of this service. param: bool $boolean return: $this |
isPublic() X-Ref |
Whether this service is public facing. return: bool |
setPrivate($boolean) X-Ref |
Sets if this service is private. When set, the "private" state has a higher precedence than "public". In version 3.4, a "private" service always remains publicly accessible, but triggers a deprecation notice when accessed from the container, so that the service can be made really private in 4.0. param: bool $boolean return: $this |
isPrivate() X-Ref |
Whether this service is private. return: bool |
setLazy($lazy) X-Ref |
Sets the lazy flag of this service. param: bool $lazy return: $this |
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: $this |
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: $this |
isAbstract() X-Ref |
Whether this definition is abstract, that means it merely serves as a template for other definitions. return: bool |
setDeprecated($status = true, $template = null) X-Ref |
Whether this definition is deprecated, that means it should not be called anymore. param: bool $status param: string $template Template message to use if the definition is deprecated return: $this |
isDeprecated() X-Ref |
Whether this definition is deprecated, that means it should not be called anymore. return: bool |
getDeprecationMessage($id) X-Ref |
Message to use if this definition is deprecated. param: string $id Service id relying on this definition return: string |
setConfigurator($configurator) X-Ref |
Sets a configurator to call after the service is fully initialized. param: string|array $configurator A PHP callable return: $this |
getConfigurator() X-Ref |
Gets the configurator to call after the service is fully initialized. return: callable|array|null |
setAutowiringTypes(array $types) X-Ref |
Sets types that will default to this definition. param: string[] $types return: $this |
isAutowired() X-Ref |
Is the definition autowired? return: bool |
setAutowired($autowired) X-Ref |
Enables/disables autowiring. param: bool $autowired return: $this |
getAutowiringTypes() X-Ref |
Gets autowiring types that will default to this definition. return: string[] |
addAutowiringType($type) X-Ref |
Adds a type that will default to this definition. param: string $type return: $this |
removeAutowiringType($type) X-Ref |
Removes a type. param: string $type return: $this |
hasAutowiringType($type) X-Ref |
Will this definition default for the given type? param: string $type return: bool |
getBindings() X-Ref |
Gets bindings. return: array |
setBindings(array $bindings) X-Ref |
Sets bindings. Bindings map $named or FQCN arguments to values that should be injected in the matching parameters (of the constructor, of methods called and of controller actions). return: $this |
addError($error) X-Ref |
Add an error that occurred when building this Definition. param: string $error |
getErrors() X-Ref |
Returns any errors that occurred while building this Definition. return: array |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |