public function __construct(array $config = array(), $changes = false) { $this->allowChanges = $changes; $this->setConfig($config); }