Alex\BehatLauncher\Behat\FeatureDirectory::hasDirectory PHP Méthode

hasDirectory() public méthode

public hasDirectory ( $name ) : boolean
Résultat boolean
    public function hasDirectory($name)
    {
        foreach ($this->entries as $entry) {
            if ($entry->getName() == $name) {
                return true;
            }
        }
        return false;
    }