PHP Class Nette\PhpGenerator\Property

Inheritance: extends Nette\Object
Afficher le fichier Open project: nette/php-generator Class Usage Examples

Méthodes publiques

Свойство Type Description
$value mixed

Méthodes publiques

Méthode Description
__construct ( $name = '' )
addComment ( $val ) : self
addDocument ( $s )
from ( ReflectionProperty $from ) : self
getComment ( ) : string | null
getDocuments ( )
getName ( ) : string
getValue ( ) : mixed
getVisibility ( ) : string
isStatic ( ) : boolean
setComment ( $val ) : self
setDocuments ( array $s )
setName ( $name )
setStatic ( $state = TRUE ) : self
setValue ( $val ) : self
setVisibility ( $val ) : self

Method Details

__construct() public méthode

public __construct ( $name = '' )

addComment() public méthode

public addComment ( $val ) : self
Résultat self

addDocument() public méthode

Deprecation:
public addDocument ( $s )

from() public static méthode

public static from ( ReflectionProperty $from ) : self
$from ReflectionProperty
Résultat self

getComment() public méthode

public getComment ( ) : string | null
Résultat string | null

getDocuments() public méthode

Deprecation:
public getDocuments ( )

getName() public méthode

public getName ( ) : string
Résultat string

getValue() public méthode

public getValue ( ) : mixed
Résultat mixed

getVisibility() public méthode

public getVisibility ( ) : string
Résultat string

isStatic() public méthode

public isStatic ( ) : boolean
Résultat boolean

setComment() public méthode

public setComment ( $val ) : self
Résultat self

setDocuments() public méthode

Deprecation:
public setDocuments ( array $s )
$s array

setName() public méthode

Deprecation:
public setName ( $name )

setStatic() public méthode

public setStatic ( $state = TRUE ) : self
Résultat self

setValue() public méthode

public setValue ( $val ) : self
Résultat self

setVisibility() public méthode

public setVisibility ( $val ) : self
Résultat self

Property Details

$value public_oe property

public mixed $value
Résultat mixed