protected function innerGet($key) { $value = parent::innerGet($key); if ($value instanceof Config) { $value = Driver::instance($value); $this->key = $value; } return $value; }
protected function innerGet($key) { if ('path' == $key) { return $this->__data['path']; } else { return parent::innerGet($key); } }