diff options
Diffstat (limited to 'src/Config/Config.php')
-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 +} |