Свойство | Type | Description | |
---|---|---|---|
$defaultValue | mixed | ||
$name | string | ||
$required | boolean |
Méthode | Description | |
---|---|---|
__construct ( array $attributes = [] ) | Creates a new {@link \bitExpert\Disco\Annotations\Parameter}. | |
getDefaultValue ( ) : mixed | Returns the default value to use in case the configuration value is not defined. | |
getName ( ) : string | Returns the name of the configuration value to use. | |
isRequired ( ) : boolean | Returns true if the parameter is required, false for an optional parameter. |
public __construct ( array $attributes = [] ) | ||
$attributes | array |
public getDefaultValue ( ) : mixed | ||
Résultat | mixed |
public isRequired ( ) : boolean | ||
Résultat | boolean |