protected function findExtensionName($name)
    {
        if ($name == 'foundation') {
            return $name;
        }
        $extensions = app('antares.memory')->make('component')->get('extensions.active');
        foreach ($extensions as $keyname => $extension) {
            if ($name == $extension['name']) {
                return $keyname;
            }
        }
        return false;
    }