PHP 인터페이스 Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface

파일 보기 프로젝트 열기: nelmio/alice 0 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

parse() 공개 메소드

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
리턴 Nelmio\Alice\Definition\ValueInterface | string | array