Table of Contents
Interfaces
- ArgumentResolverInterface
- InflectorInterface
Properties
-
$callback
: callable|null
-
$container
: DefinitionContainerInterface|null
-
$methods
: array<string|int, mixed>
-
$properties
: array<string|int, mixed>
-
$type
: string
Methods
-
__construct()
: mixed
-
getContainer()
: DefinitionContainerInterface
-
getType()
: string
-
inflect()
: void
-
invokeMethod()
: InflectorInterface
-
invokeMethods()
: InflectorInterface
-
reflectArguments()
: array<string|int, mixed>
-
resolveArguments()
: array<string|int, mixed>
-
setContainer()
: ContainerAwareInterface
-
setProperties()
: InflectorInterface
-
setProperty()
: InflectorInterface
$callback
protected
callable|null
$callback
$container
protected
DefinitionContainerInterface|null
$container
$methods
protected
array<string|int, mixed>
$methods
= []
$properties
protected
array<string|int, mixed>
$properties
= []
$type
protected
string
$type
__construct()
public
__construct(string $type[, callable $callback = null ]) : mixed
Parameters
-
$type
: string
-
-
$callback
: callable
= null
-
getContainer()
public
abstract getContainer() : DefinitionContainerInterface
getType()
public
getType() : string
inflect()
public
inflect(object $object) : void
Parameters
-
$object
: object
-
invokeMethod()
public
invokeMethod(string $name, array<string|int, mixed> $args) : InflectorInterface
Parameters
-
$name
: string
-
-
$args
: array<string|int, mixed>
-
invokeMethods()
public
invokeMethods(array<string|int, mixed> $methods) : InflectorInterface
Parameters
-
$methods
: array<string|int, mixed>
-
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>
setContainer()
public
setContainer(DefinitionContainerInterface $container) : ContainerAwareInterface
Parameters
-
$container
: DefinitionContainerInterface
-
setProperties()
public
setProperties(array<string|int, mixed> $properties) : InflectorInterface
Parameters
-
$properties
: array<string|int, mixed>
-
setProperty()
public
setProperty(string $property, mixed $value) : InflectorInterface
Parameters
-
$property
: string
-
-
$value
: mixed
-