PHP Class Codeception\Specify\ObjectProperty

Author: Roman Ishchenko ([email protected])
Show file Open project: codeception/specify Class Usage Examples

Public Methods

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

Method Details

__construct() public method

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

getName() public method

public getName ( ) : string
return string

getValue() public method

public getValue ( ) : mixed
return mixed

restoreValue() public method

Restores initial value
public restoreValue ( )

setValue() public method

public setValue ( mixed $value )
$value mixed