PHP Class Codeception\Specify\ObjectProperty

Author: Roman Ishchenko ([email protected])
Afficher le fichier Open project: codeception/specify Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $owner, $property, $value = null ) ObjectProperty constructor.
getName ( ) : string
getValue ( ) : mixed
restoreValue ( ) Restores initial value
setValue ( mixed $value )

Method Details

__construct() public méthode

ObjectProperty constructor.
public __construct ( $owner, $property, $value = null )
$owner
$property
$value

getName() public méthode

public getName ( ) : string
Résultat string

getValue() public méthode

public getValue ( ) : mixed
Résultat mixed

restoreValue() public méthode

Restores initial value
public restoreValue ( )

setValue() public méthode

public setValue ( mixed $value )
$value mixed