public function modules()
    {
        $modules = [];

        foreach ($this->modulesToCheck as $module) {
            $modules[$module] = in_array('mod_' . $module, apache_get_modules());
        }

        return $modules;
    }