PHP Class Nelmio\Alice\Definition\Value\UniqueValue

Inheritance: implements Nelmio\Alice\Definition\ValueInterface
Datei anzeigen Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
__construct ( string $id, mixed $value )
__toString ( ) : string
getId ( ) : string
getValue ( )
withValue ( $value ) : self

Method Details

__construct() public method

public __construct ( string $id, mixed $value )
$id string Unique across a fixture set, is used to generate unique values.
$value mixed

__toString() public method

public __toString ( ) : string
return string

getId() public method

public getId ( ) : string
return string

getValue() public method

public getValue ( )

withValue() public method

public withValue ( $value ) : self
return self