So much refactoring...

This commit is contained in:
Joshua Sherman 2013-12-30 00:38:13 -05:00
parent 03e613d380
commit 54471c361b
9 changed files with 562 additions and 707 deletions

View file

@ -32,10 +32,9 @@ class Config extends Object
/**
* Config data
*
* @access private
* @var array
* @var array
*/
private $data = array();
public $data = array();
/**
* Constructor
@ -236,19 +235,6 @@ class Config extends Object
return parent::getInstance($class);
}
/**
* Magic Setter Method
*
* Prohibits the direct modification of module variables.
*
* @param string $name name of the variable to be set
* @param mixed $value value of the variable to be set
*/
public function __set($name, $value)
{
throw new Exception('Cannot set config variables directly', E_USER_ERROR);
}
/**
* Magic Getter Method
*