Alex\BehatLauncher\Behat\FeatureDirectory::hasDirectory PHP Method

hasDirectory() public method

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