PHP Interface Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface

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

Méthodes publiques

Méthode Description
parse ( string $value ) : Nelmio\Alice\Definition\ValueInterface | string | array Parses a value, e.g. 'foo' or '$username' to determine if is a regular value (like 'foo') or is a value that must be processed (like '$username'). If the value must be processed, it will be parsed to generate a value (a ValueInterface instance) ready for processing.

Method Details

parse() public méthode

Parses a value, e.g. 'foo' or '$username' to determine if is a regular value (like 'foo') or is a value that must be processed (like '$username'). If the value must be processed, it will be parsed to generate a value (a ValueInterface instance) ready for processing.
public parse ( string $value ) : Nelmio\Alice\Definition\ValueInterface | string | array
$value string
Résultat Nelmio\Alice\Definition\ValueInterface | string | array