Fr3nch13/CakePHP Utilities

DefinitionAggregate
in package
implements DefinitionAggregateInterface uses ContainerAwareTrait

Table of Contents

Interfaces

DefinitionAggregateInterface

Properties

$container  : DefinitionContainerInterface|null
$definitions  : array<string|int, DefinitionInterface>

Methods

__construct()  : mixed
add()  : DefinitionInterface
addShared()  : DefinitionInterface
getContainer()  : DefinitionContainerInterface
getDefinition()  : DefinitionInterface
getIterator()  : Generator
has()  : bool
hasTag()  : bool
resolve()  : mixed
resolveNew()  : mixed
resolveTagged()  : array<string|int, mixed>
resolveTaggedNew()  : array<string|int, mixed>
setContainer()  : ContainerAwareInterface

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $definitions = [] ]) : mixed
Parameters
$definitions : array<string|int, mixed> = []

hasTag()

public hasTag(string $tag) : bool
Parameters
$tag : string
Return values
bool

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>

        
On this page

Search results