PHP Класс Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\FunctionFixtureReferenceParser

Наследование: implements Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface, use trait Nelmio\Alice\IsAServiceTrait
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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