lib/Pico.php
public function getPlugin($pluginName)
    {
        if (isset($this->plugins[$pluginName])) {
            return $this->plugins[$pluginName];
        }

        throw new RuntimeException("Missing plugin '" . $pluginName . "'");
    }
public function getPlugin($pluginName)
    {
        if (isset($this->plugins[$pluginName])) {
            return $this->plugins[$pluginName];
        }

        throw new RuntimeException("Missing plugin '" . $pluginName . "'");
    }
public function getPlugin ( $ pluginName ) { if ( isset ( $ this -> plugins [ $ pluginName ] ) ) { return $ this -> plugins [ $ pluginName ] ; } throw new RuntimeException ( "Missing plugin '" . $ pluginName . "'" ) ; }
Returns the instance of a named plugin

Plugins SHOULD implement {@see PicoPluginInterface}, but you MUST NOT
rely on it. For more information see {@see PicoPluginInterface}.

@see Pico::loadPlugins()
@see Pico::getPlugins()

@param string $pluginName name of the plugin

@return object instance of the plugin

@throws RuntimeException thrown when the plugin wasn't found
Returns the instance of a named plugin