From 6f4cd9178ba55ffb3fd80816cf9f4cda39ee0cad Mon Sep 17 00:00:00 2001 From: Fbenas Date: Sun, 12 Mar 2017 17:46:18 +0000 Subject: Doc block and PSR --- src/Core/Main.php | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to 'src/Core/Main.php') diff --git a/src/Core/Main.php b/src/Core/Main.php index 594b15c..7aa643e 100644 --- a/src/Core/Main.php +++ b/src/Core/Main.php @@ -5,11 +5,15 @@ namespace App\Core; use App\Game; /** -* Core Main class, deals with all set-up -*/ + * Not really sure if we need this + */ class Main { - + /** + * Construct + * + * @author Phil Burton + */ public function __construct() { $this->init(); @@ -17,13 +21,24 @@ class Main $this->run(); } + /** + * Initalise + * + * @author Phil Burton + * @return bool + */ protected function init() { return true; } + /** + * Run the Game + * + * @author Phil Burton + */ protected function run() { - $game = new Game(); + $game = new Game(); } -} \ No newline at end of file +} -- cgit v1.2.3