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

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

Public Methods

Method 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

Method Description
mergeStrings ( array $values, $value ) : array

Method Details

__construct() public method

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

parse() public method

public parse ( string $value )
$value string