src/Adapter/VariablesAdapter.php
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;
    }
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;
    }
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 ; }
get extension key name by name from manifest

@param type $name
@return boolean|String
get extension key name by name from manifest