Method | 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. |