public function addModule($name, array $options) { $name = strtolower($name); $this->modules[$name] = $options; }