PHP Class Nelmio\Alice\Parser\Chainable\YamlParser

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

Méthodes publiques

Méthode Description
__construct ( Parser $yamlParser )
canParse ( string $file ) : boolean
parse ( string $file ) : array {@inheritDoc}

Method Details

__construct() public méthode

public __construct ( Parser $yamlParser )
$yamlParser Symfony\Component\Yaml\Parser

canParse() public méthode

public canParse ( string $file ) : boolean
$file string
Résultat boolean

parse() public méthode

{@inheritDoc}
public parse ( string $file ) : array
$file string Local YAML file
Résultat array