PHP Interface Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParserInterface

显示文件 Open project: nelmio/alice Interface Usage Examples

Public Methods

Method Description
parse ( string $element ) : FlagBag Parses a string element to extract the flags from it.

Method Details

parse() public method

Parses a string element to extract the flags from it.
public parse ( string $element ) : FlagBag
$element string e.g. 'user0 (dummy_flag, another_flag)'
return Nelmio\Alice\Definition\FlagBag