src/Behat/Behat/Gherkin/ServiceContainer/GherkinExtension.php
private function getLibPath()
    {
        $reflection = new ReflectionClass('Behat\Gherkin\Gherkin');
        $libPath = rtrim(dirname($reflection->getFilename()) . '/../../../', DIRECTORY_SEPARATOR);

        return $libPath;
    }
private function getLibPath()
    {
        $reflection = new ReflectionClass('Behat\Gherkin\Gherkin');
        $libPath = rtrim(dirname($reflection->getFilename()) . '/../../../', DIRECTORY_SEPARATOR);

        return $libPath;
    }
private function getLibPath ( ) { $ reflection = new ReflectionClass ( 'Behat\Gherkin\Gherkin' ) ; $ libPath = rtrim ( dirname ( $ reflection -> getFilename ( ) ) . '/../../../' , DIRECTORY_SEPARATOR ) ; return $ libPath ; }
Returns gherkin library path.

@return string
Returns gherkin library path .