PHP Class Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParser\Chainable\OptionalFlagParser

Inheritance: implements Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParser\ChainableFlagParserInterface, use trait Nelmio\Alice\IsAServiceTrait
ファイルを表示 Open project: nelmio/alice

Public Methods

Method Description
canParse ( string $element, array &$matches = [] ) : boolean
parse ( string $element ) : FlagBag

Method Details

canParse() public method

public canParse ( string $element, array &$matches = [] ) : boolean
$element string
$matches array
return boolean

parse() public method

public parse ( string $element ) : FlagBag
$element string
return Nelmio\Alice\Definition\FlagBag