프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$defaultValue | mixed | ||
$name | string | ||
$required | boolean |
메소드 | 설명 | |
---|---|---|
__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 | ||
리턴 | mixed |
public isRequired ( ) : boolean | ||
리턴 | boolean |