/** * Add a new selector into this container. * * @param FileSelector|the $selector * @throws BuildException * @internal param the $selector new selector to add * @return the selector that was added */ public function appendSelector(FileSelector $selector) { if ($this->isReference()) { throw $this->noChildrenAllowed(); } parent::appendSelector($selector); }