Add constructor documentation

This commit is contained in:
Bart Visscher 2013-07-08 18:01:32 +02:00
parent 52553c64ed
commit abe9abab99
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@ class Config {
protected $debugMode;
/**
* @param $configDir path to the config dir, needs to end with '/'
*/
public function __construct($configDir) {
$this->configDir = $configDir;
$this->configFilename = $this->configDir.'config.php';