DefinitionAggregateInterface
extends
ContainerAwareInterface, IteratorAggregate
in
Table of Contents
Methods
- add() : DefinitionInterface
- addShared() : DefinitionInterface
- getContainer() : DefinitionContainerInterface
- getDefinition() : DefinitionInterface
- has() : bool
- hasTag() : bool
- resolve() : mixed
- resolveNew() : mixed
- resolveTagged() : array<string|int, mixed>
- resolveTaggedNew() : array<string|int, mixed>
- setContainer() : ContainerAwareInterface
Methods
add()
public
add(string $id, mixed $definition) : DefinitionInterface
Parameters
- $id : string
- $definition : mixed
Return values
DefinitionInterfaceaddShared()
public
addShared(string $id, mixed $definition) : DefinitionInterface
Parameters
- $id : string
- $definition : mixed
Return values
DefinitionInterfacegetContainer()
public
getContainer() : DefinitionContainerInterface
Return values
DefinitionContainerInterfacegetDefinition()
public
getDefinition(string $id) : DefinitionInterface
Parameters
- $id : string
Return values
DefinitionInterfacehas()
public
has(string $id) : bool
Parameters
- $id : string
Return values
boolhasTag()
public
hasTag(string $tag) : bool
Parameters
- $tag : string
Return values
boolresolve()
public
resolve(string $id) : mixed
Parameters
- $id : string
resolveNew()
public
resolveNew(string $id) : mixed
Parameters
- $id : string
resolveTagged()
public
resolveTagged(string $tag) : array<string|int, mixed>
Parameters
- $tag : string
Return values
array<string|int, mixed>resolveTaggedNew()
public
resolveTaggedNew(string $tag) : array<string|int, mixed>
Parameters
- $tag : string
Return values
array<string|int, mixed>setContainer()
public
setContainer(DefinitionContainerInterface $container) : ContainerAwareInterface
Parameters
- $container : DefinitionContainerInterface