PHP Class Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\StringMergerParser

Inheritance: implements Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface, use trait Nelmio\Alice\IsAServiceTrait
Afficher le fichier Open project: nelmio/alice Class Usage Examples

Méthodes publiques

Méthode Description
__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 merge two successive strings.

Private Methods

Méthode Description
mergeStrings ( array $values, $value ) : array

Method Details

__construct() public méthode

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

parse() public méthode

public parse ( string $value )
$value string