*/ class Game { /** * Constuct a new Game * * @author Phil Burton */ public function __construct() { $this->init(); } /** * Initalise the Game * * @author Phil Burton */ protected function init() { // Do any pre set-up $this->handler = new Handler(['inject']); $this->sendOpeningMessage(); } /** * Send opening message * @author Phil Burton */ public function sendOpeningMessage() { $message = $this->handler->renderOverview(); $important = $this->handler->returnImportant('inject'); var_dump($message, $important); } }