AbstractFileSet::hasPatterns PHP Метод

hasPatterns() публичный Метод

Indicates whether there are any patterns here.
public hasPatterns ( ) : boolean
Результат boolean Whether any patterns are in this container.
    public function hasPatterns()
    {
        if ($this->isReference() && $this->getProject() !== null) {
            return $this->getRef($this->getProject())->hasPatterns();
        }
        if ($this->defaultPatterns->hasPatterns($this->getProject())) {
            return true;
        }
        for ($i = 0, $size = count($this->additionalPatterns); $i < $size; $i++) {
            $ps = $this->additionalPatterns[$i];
            if ($ps->hasPatterns($this->getProject())) {
                return true;
            }
        }
        return false;
    }