public function get($name)
    {
        if (!$this->has($name)) {
            throw new MissingPluginException(['plugin' => $name]);
        }

        return $this->plugins[$name];
    }
public function get($name)
    {
        if (!$this->has($name)) {
            throw new MissingPluginException(['plugin' => $name]);
        }

        return $this->plugins[$name];
    }
public function get ( $ name ) { if ( ! $ this -> has ( $ name ) ) { throw new MissingPluginException ( [ 'plugin' => $ name ] ) ; } return $ this -> plugins [ $ name ] ; }
Get the a plugin by name

@param string $name The plugin to get.
@return \Cake\Core\PluginInterface The plugin.
@throws \Cake\Core\Exception\MissingPluginException when unknown plugins are fetched.
Get the a plugin by name