src/Behat/Gherkin/Loader/GherkinFileLoader.php
protected function parseFeature($path)
    {
        $filename = $this->findRelativePath($path);
        $content = file_get_contents($path);
        $feature = $this->parser->parse($content, $filename);

        return $feature;
    }
protected function parseFeature($path)
    {
        $filename = $this->findRelativePath($path);
        $content = file_get_contents($path);
        $feature = $this->parser->parse($content, $filename);

        return $feature;
    }
protected function parseFeature ( $ path ) { $ filename = $ this -> findRelativePath ( $ path ) ; $ content = file_get_contents ( $ path ) ; $ feature = $ this -> parser -> parse ( $ content , $ filename ) ; return $ feature ; }
Parses feature at provided absolute path.

@param string $path Feature path

@return FeatureNode
Parses feature at provided absolute path .