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