diff options
author | Fbenas <philbeansburton@gmail.com> | 2017-03-12 17:46:18 +0000 |
---|---|---|
committer | Fbenas <philbeansburton@gmail.com> | 2017-03-12 17:46:18 +0000 |
commit | 6f4cd9178ba55ffb3fd80816cf9f4cda39ee0cad (patch) | |
tree | 83a3f14c14d9f426139b94e4dec2f46a21826bdb /src/Config | |
parent | a61df3888e726938f9f6b3af9cb4c8084907dfc6 (diff) |
Doc block and PSR
Diffstat (limited to 'src/Config')
-rw-r--r-- | src/Config/Config.php | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/Config/Config.php b/src/Config/Config.php index 10236f0..710c9e0 100644 --- a/src/Config/Config.php +++ b/src/Config/Config.php @@ -2,10 +2,26 @@ namespace App\Config; +/** + * Config class to handle loading and returning config stuff + * + * @author Phil Burton <phil@pgburton.com> + */ class Config { + /** + * Cached config + * + * @var mixed[] + */ protected static $config; + /** + * Return the cofnig + * + * @author Phil Burton <phil@pgburton.com> + * @return mixed[] + */ public static function getconfig() { if (!static::$config) { @@ -14,4 +30,4 @@ class Config return static::$config; } -}
\ No newline at end of file +} |