PHP 클래스 Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\FunctionFixtureReferenceParser

상속: implements Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface, use trait Nelmio\Alice\IsAServiceTrait
파일 보기 프로젝트 열기: nelmio/alice 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface $parser )
parse ( string $value ) Uses the decorated parser to parse the value and then walk through the list of values to look for fixtures references followed by a function call (caused by e.g. "@user0") to correct the value and make it one fixture reference instead (i.e. add the function as part of the fixture reference).

비공개 메소드들

메소드 설명
mergeFunctionFixtureReferences ( array $values, $value ) : array

메소드 상세

__construct() 공개 메소드

public __construct ( Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface $parser )
$parser Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface

parse() 공개 메소드

public parse ( string $value )
$value string