public function getPlugins(){
        $config = [];
        $registry = self::getRegistry();

        if ($registry->isRegistered(self::CREATOR)) {
            $config = $registry->get(self::CREATOR);
        }

        if (!isset($config['plugins'])) {
            return [];
        }

        return $config['plugins'];
    }
public function getPlugins(){
        $config = [];
        $registry = self::getRegistry();

        if ($registry->isRegistered(self::CREATOR)) {
            $config = $registry->get(self::CREATOR);
        }

        if (!isset($config['plugins'])) {
            return [];
        }

        return $config['plugins'];
    }
public function getPlugins ( ) { $ config = [ ] ; $ registry = self :: getRegistry ( ) ; if ( $ registry -> isRegistered ( self :: CREATOR ) ) { $ config = $ registry -> get ( self :: CREATOR ) ; } if ( ! isset ( $ config [ 'plugins' ] ) ) { return [ ] ; } return $ config [ 'plugins' ] ; }
Quick access to the plugins
@return array the registered plugins
Quick access to the plugins