ArrayAccessibleResourceBundle::count()

count()

ArrayAccessibleResourceBundle

class ArrayAccessibleResourceBundle implements ArrayAccess, IteratorAggregate, Countable Work-around for a bug in PHP's \ResourceBundle implementation. More information can be found on https://bugs.php.net/bug.php?id=64356. This class can be removed once that bug is fixed. Methods __construct(ResourceBundle $bundleImpl) get($offset) offsetExists($offset) offsetGet($offset) offsetSet($offset, $value) offsetUnset($offset) getIterator() count()

ArrayAccessibleResourceBundle::count()

count()

ArgvInput::getParameterOption()

mixed getParameterOption(string|array $values, mixed $default = false, bool $onlyParams = false) Returns the value of a raw option (not parsed). This method is to be used to introspect the input parameters before they have been validated. It must be used carefully. Parameters string|array $values The value(s) to look for in the raw parameters (can be an array) mixed $default The default value to return if no result is found bool $onlyParams Only check real parameters, skip thos

ArgvInput

class ArgvInput extends Input ArgvInput represents an input coming from the CLI arguments. Usage: $input = new ArgvInput(); By default, the $_SERVER['argv'] array is used for the input values. This can be overridden by explicitly passing the input values in the constructor: $input = new ArgvInput($_SERVER['argv']); If you pass it yourself, don't forget that the first element of the array is the name of the running application. When passing an argument to the constructor, be sure that it re

ArgvInput::getFirstArgument()

string getFirstArgument() Returns the first argument from the raw parameters (not parsed). Return Value string The value of the first argument or null otherwise

ArgumentValueResolverInterface

interface ArgumentValueResolverInterface Responsible for resolving the value of an argument based on its metadata. Methods bool supports(Request $request, ArgumentMetadata $argument) Whether this resolver can resolve the value for the given ArgumentMetadata. Generator resolve(Request $request, ArgumentMetadata $argument) Returns the possible value(s). Details bool supports(Request $request, ArgumentMetadata $argument) Whether this resolver

ArgumentValueResolverInterface::resolve()

Generator resolve(Request $request, ArgumentMetadata $argument) Returns the possible value(s). Parameters Request $request ArgumentMetadata $argument Return Value Generator

ArgumentValueResolverInterface::supports()

bool supports(Request $request, ArgumentMetadata $argument) Whether this resolver can resolve the value for the given ArgumentMetadata. Parameters Request $request ArgumentMetadata $argument Return Value bool

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()