ArgumentMetadata
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. |
|