function createExcludesFile() { if ($this->isReference()) { throw $this->noChildrenAllowed(); return; } return $this->defaultPatterns->createExcludesFile(); }