public function getRequirements()
    {
        $requirements = &gplcart_static('install.requirements');

        if (isset($requirements)) {
            return (array) $requirements;
        }

        $requirements = (array) gplcart_config_get(GC_FILE_CONFIG_REQUIREMENT);
        $this->hook->attach('install.requirements', $requirements);
        return (array) $requirements;
    }