public function initialize() { new Url($this->getKernel()); // Load the rest of the page. $this->page = new Page($this->getKernel()); $this->page->load(); }