/** * @param Right $right The right object to add. */ protected function doAddRight($right) { $this->collRights[] = $right; $right->setPage($this); }