public function getIncludePatterns(Project $p)
    {
        if ($this->isReference()) {
            $o = $this->getRef($p);

            return $o->getIncludePatterns($p);
        } else {
            $this->readFiles($p);

            return $this->makeArray($this->includeList, $p);
        }
    }
public function getIncludePatterns(Project $p)
    {
        if ($this->isReference()) {
            $o = $this->getRef($p);

            return $o->getIncludePatterns($p);
        } else {
            $this->readFiles($p);

            return $this->makeArray($this->includeList, $p);
        }
    }
public function getIncludePatterns ( Project $ p ) { if ( $ this -> isReference ( ) ) { $ o = $ this -> getRef ( $ p ) ; return $ o -> getIncludePatterns ( $ p ) ; } else { $ this -> readFiles ( $ p ) ; return $ this -> makeArray ( $ this -> includeList , $ p ) ; } }
Returns the filtered include patterns.

@param Project $p

@throws BuildException

@return array
Returns the filtered include patterns .