function setExcludes($excludes) { if ($this->isReference()) { throw $this->tooManyAttributes(); } $this->defaultPatterns->setExcludes($excludes); }