PHP Class Nette\PhpGenerator\Property

Inheritance: extends Nette\Object
Datei anzeigen Open project: nette/php-generator Class Usage Examples

Public Properties

Property Type Description
$value mixed

Public Methods

Method 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 method

public __construct ( $name = '' )

addComment() public method

public addComment ( $val ) : self
return self

addDocument() public method

Deprecation:
public addDocument ( $s )

from() public static method

public static from ( ReflectionProperty $from ) : self
$from ReflectionProperty
return self

getComment() public method

public getComment ( ) : string | null
return string | null

getDocuments() public method

Deprecation:
public getDocuments ( )

getName() public method

public getName ( ) : string
return string

getValue() public method

public getValue ( ) : mixed
return mixed

getVisibility() public method

public getVisibility ( ) : string
return string

isStatic() public method

public isStatic ( ) : boolean
return boolean

setComment() public method

public setComment ( $val ) : self
return self

setDocuments() public method

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

setName() public method

Deprecation:
public setName ( $name )

setStatic() public method

public setStatic ( $state = TRUE ) : self
return self

setValue() public method

public setValue ( $val ) : self
return self

setVisibility() public method

public setVisibility ( $val ) : self
return self

Property Details

$value public_oe property

public mixed $value
return mixed