PHP Class Nelmio\Alice\Definition\Value\UniqueValue

Inheritance: implements Nelmio\Alice\Definition\ValueInterface
Afficher le fichier Open project: nelmio/alice Class Usage Examples

Méthodes publiques

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

Method Details

__construct() public méthode

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

__toString() public méthode

public __toString ( ) : string
Résultat string

getId() public méthode

public getId ( ) : string
Résultat string

getValue() public méthode

public getValue ( )

withValue() public méthode

public withValue ( $value ) : self
Résultat self