PHP Class Nelmio\Alice\Definition\Property

Afficher le fichier Open project: nelmio/alice Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $name, Nelmio\Alice\Definition\ValueInterface | mixed $value )
getName ( ) : string
getValue ( ) : Nelmio\Alice\Definition\ValueInterface | mixed
withValue ( $value ) : self param ValueInterface|mixed $value

Method Details

__construct() public méthode

public __construct ( string $name, Nelmio\Alice\Definition\ValueInterface | mixed $value )
$name string Fixture property name, e.g. 'username' (no flags expected)
$value Nelmio\Alice\Definition\ValueInterface | mixed

getName() public méthode

public getName ( ) : string
Résultat string

getValue() public méthode

public getValue ( ) : Nelmio\Alice\Definition\ValueInterface | mixed
Résultat Nelmio\Alice\Definition\ValueInterface | mixed

withValue() public méthode

param ValueInterface|mixed $value
public withValue ( $value ) : self
Résultat self