ArgumentsNode

class ArgumentsNode extends ArrayNode Properties $nodes from Node $attributes from Node Methods __construct() Constructor. from ArrayNode __toString() from Node compile(Compiler $compiler) Compiles the node to PHP. evaluate($functions, $values) from ArrayNode addElement(Node $value, Node $key = null) from ArrayNode Details __construct() Constructor. __toString()

ArgumentMetadata::isVariadic()

bool isVariadic() Returns whether the argument is defined as ". ..$variadic". Return Value bool

ArgumentMetadataFactoryInterface

interface ArgumentMetadataFactoryInterface Builds method argument data. Methods ArgumentMetadata[] createArgumentMetadata(mixed $controller) Details ArgumentMetadata[] createArgumentMetadata(mixed $controller) Parameters mixed $controller The controller to resolve the arguments for Return Value ArgumentMetadata[]

ArgumentMetadata::isNullable()

bool isNullable() Returns whether the argument accepts null values. Return Value bool

ArgumentMetadataFactory

class ArgumentMetadataFactory implements ArgumentMetadataFactoryInterface Builds {see ArgumentMetadata} objects based on the given Controller. Methods __construct() ArgumentMetadata[] createArgumentMetadata(mixed $controller) Details __construct() ArgumentMetadata[] createArgumentMetadata(mixed $controller) Parameters mixed $controller The controller to resolve the arguments for Return Value Arg

ArgumentMetadata::hasDefaultValue()

bool hasDefaultValue() Returns whether the argument has a default value. Implies whether an argument is optional. Return Value bool

ArgumentResolver

class ArgumentResolver implements ArgumentResolverInterface Responsible for resolving the arguments passed to an action. Methods __construct(ArgumentMetadataFactoryInterface $argumentMetadataFactory = null, array $argumentValueResolvers = array()) array getArguments(Request $request, callable $controller) Returns the arguments to pass to the controller. Details __construct(ArgumentMetadataFactoryInterface $argumentMetadataFactory = null, array $argu

ArgumentMetadata::getType()

string getType() Returns the type of the argument. The type is the PHP class in 5.5+ and additionally the basic type in PHP 7.0+. Return Value string

ArgumentMetadata::getName()

string getName() Returns the name as given in PHP, $foo would yield "foo". Return Value string

ArgumentMetadata

class ArgumentMetadata Responsible for storing metadata of an argument. Methods __construct(string $name, string $type, bool $isVariadic, bool $hasDefaultValue, mixed $defaultValue, bool $isNullable = false) string getName() Returns the name as given in PHP, $foo would yield "foo". string getType() Returns the type of the argument. bool isVariadic() Returns whether the argument is defined as ". bool hasDefaultValue() Returns whether the argument has a default value.