public function link($page, $args = array()) { if ($this->links[$page]) { throw $this->exception('This page is already linked')->addMoreInfo('page', $page); } $this->links[$page] = $args; return $this; }