PHP Class Nelmio\Alice\Parser\Chainable\PhpParser

Inheritance: implements Nelmio\Alice\Parser\ChainableParserInterface, use trait Nelmio\Alice\IsAServiceTrait
显示文件 Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
canParse ( string $file ) : boolean
parse ( string $file ) : array {@inheritDoc}

Method Details

canParse() public method

public canParse ( string $file ) : boolean
$file string
return boolean

parse() public method

{@inheritDoc}
public parse ( string $file ) : array
$file string Local PHP file
return array