Fr3nch13/CakePHP Utilities

Definition
in package
implements ArgumentResolverInterface, DefinitionInterface uses ArgumentResolverTrait, ContainerAwareTrait

Table of Contents

Interfaces

ArgumentResolverInterface
DefinitionInterface

Properties

$alias  : string
$arguments  : array<string|int, mixed>
$concrete  : mixed
$container  : DefinitionContainerInterface|null
$methods  : array<string|int, mixed>
$recursiveCheck  : array<string|int, mixed>
$resolved  : mixed
$shared  : bool
$tags  : array<string|int, mixed>

Methods

__construct()  : mixed
addArgument()  : DefinitionInterface
addArguments()  : DefinitionInterface
addMethodCall()  : DefinitionInterface
addMethodCalls()  : DefinitionInterface
addTag()  : DefinitionInterface
getAlias()  : string
getConcrete()  : mixed
getContainer()  : DefinitionContainerInterface
hasTag()  : bool
isShared()  : bool
reflectArguments()  : array<string|int, mixed>
resolve()  : mixed
resolveArguments()  : array<string|int, mixed>
resolveNew()  : mixed
setAlias()  : DefinitionInterface
setConcrete()  : DefinitionInterface
setContainer()  : ContainerAwareInterface
setShared()  : DefinitionInterface
invokeMethods()  : object
resolveCallable()  : mixed
resolveClass()  : object

Properties

$arguments

protected array<string|int, mixed> $arguments = []

$methods

protected array<string|int, mixed> $methods = []

$recursiveCheck

protected array<string|int, mixed> $recursiveCheck = []

$tags

protected array<string|int, mixed> $tags = []

Methods

__construct()

public __construct(string $id[, mixed|null $concrete = null ]) : mixed
Parameters
$id : string
$concrete : mixed|null = null

getAlias()

public getAlias() : string
Return values
string

hasTag()

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

isShared()

public isShared() : bool
Return values
bool

reflectArguments()

public reflectArguments(ReflectionFunctionAbstract $method[, array<string|int, mixed> $args = [] ]) : array<string|int, mixed>
Parameters
$method : ReflectionFunctionAbstract
$args : array<string|int, mixed> = []
Return values
array<string|int, mixed>

resolveArguments()

public resolveArguments(array<string|int, mixed> $arguments) : array<string|int, mixed>
Parameters
$arguments : array<string|int, mixed>
Return values
array<string|int, mixed>

invokeMethods()

protected invokeMethods(object $instance) : object
Parameters
$instance : object
Return values
object

resolveCallable()

protected resolveCallable(callable $concrete) : mixed
Parameters
$concrete : callable

resolveClass()

protected resolveClass(string $concrete) : object
Parameters
$concrete : string
Return values
object

        
On this page

Search results