[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 115 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ArgumentMetadata:: (7 methods):
__construct()
getName()
getType()
isVariadic()
hasDefaultValue()
isNullable()
getDefaultValue()
Class: ArgumentMetadata - X-Ref
Responsible for storing metadata of an argument.__construct($name, $type, $isVariadic, $hasDefaultValue, $defaultValue, $isNullable = false) X-Ref |
param: string $name param: string $type param: bool $isVariadic param: bool $hasDefaultValue param: mixed $defaultValue param: bool $isNullable |
getName() X-Ref |
Returns the name as given in PHP, $foo would yield "foo". return: string |
getType() X-Ref |
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: string|null |
isVariadic() X-Ref |
Returns whether the argument is defined as "...$variadic". return: bool |
hasDefaultValue() X-Ref |
Returns whether the argument has a default value. Implies whether an argument is optional. return: bool |
isNullable() X-Ref |
Returns whether the argument accepts null values. return: bool |
getDefaultValue() X-Ref |
Returns the default value of the argument. return: mixed |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |