summaryrefslogtreecommitdiff
path: root/src/Core
diff options
context:
space:
mode:
authorFbenas <philbeansburton@gmail.com>2017-03-12 17:46:18 +0000
committerFbenas <philbeansburton@gmail.com>2017-03-12 17:46:18 +0000
commit6f4cd9178ba55ffb3fd80816cf9f4cda39ee0cad (patch)
tree83a3f14c14d9f426139b94e4dec2f46a21826bdb /src/Core
parenta61df3888e726938f9f6b3af9cb4c8084907dfc6 (diff)
Doc block and PSR
Diffstat (limited to 'src/Core')
-rw-r--r--src/Core/Main.php25
1 files changed, 20 insertions, 5 deletions
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 <phil@pgburton.com>
+ */
public function __construct()
{
$this->init();
@@ -17,13 +21,24 @@ class Main
$this->run();
}
+ /**
+ * Initalise
+ *
+ * @author Phil Burton <phil@pgburton.com>
+ * @return bool
+ */
protected function init()
{
return true;
}
+ /**
+ * Run the Game
+ *
+ * @author Phil Burton <phil@pgburton.com>
+ */
protected function run()
{
- $game = new Game();
+ $game = new Game();
}
-} \ No newline at end of file
+}