src/Behat/Gherkin/Loader/YamlFileLoader.php
public function supports($path)
    {
        return is_string($path)
            && is_file($absolute = $this->findAbsolutePath($path))
            && 'yml' === pathinfo($absolute, PATHINFO_EXTENSION);
    }
public function supports($path)
    {
        return is_string($path)
            && is_file($absolute = $this->findAbsolutePath($path))
            && 'yml' === pathinfo($absolute, PATHINFO_EXTENSION);
    }
public function supports ( $ path ) { return is_string ( $ path ) && is_file ( $ absolute = $ this -> findAbsolutePath ( $ path ) ) && 'yml' === pathinfo ( $ absolute , PATHINFO_EXTENSION ) ; }
Checks if current loader supports provided resource.

@param mixed $path Resource to load

@return Boolean
Checks if current loader supports provided resource .