/** * Initialize all the property controller needed. */ protected function initialize() { $this->game = new Game(); $this->request = new Request(); $this->battleshipView = new View\Battleship(); $this->game->initialize(); $this->request->createForm('/index.php'); }