프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$attributes | |||
$default | |||
$flags | |||
$name |
메소드 | 설명 | |
---|---|---|
__construct ( string $name ) | Creates a property builder. | |
getNode ( ) : |
Returns the built class node. | |
makePrivate ( ) | Makes the property private. | |
makeProtected ( ) | Makes the property protected. | |
makePublic ( ) | Makes the property public. | |
makeStatic ( ) | Makes the property static. | |
setDefault ( mixed $value ) | Sets default value for the property. | |
setDocComment ( PhpParser\Comment\Doc | string $docComment ) | Sets doc comment for the property. |
public __construct ( string $name ) | ||
$name | string | Name of the property |
public getNode ( ) : |
||
리턴 | The built property node |
public setDefault ( mixed $value ) | ||
$value | mixed | Default value to use |
public setDocComment ( PhpParser\Comment\Doc | string $docComment ) | ||
$docComment | PhpParser\Comment\Doc | string | Doc comment to set |