bundles/BlockManagerBundle/DependencyInjection/NetgenBlockManagerExtension.php
public function getPlugin(string $pluginName): ExtensionPluginInterface
    {
        if (!isset($this->plugins[$pluginName])) {
            throw new RuntimeException(
                sprintf(
                    'Extension plugin "%s" does not exist',
                    $pluginName
                )
            );
        }

        return $this->plugins[$pluginName];
    }
public function getPlugin(string $pluginName): ExtensionPluginInterface
    {
        if (!isset($this->plugins[$pluginName])) {
            throw new RuntimeException(
                sprintf(
                    'Extension plugin "%s" does not exist',
                    $pluginName
                )
            );
        }

        return $this->plugins[$pluginName];
    }
public function getPlugin ( string $ pluginName ) : ExtensionPluginInterface { if ( ! isset ( $ this -> plugins [ $ pluginName ] ) ) { throw new RuntimeException ( sprintf ( 'Extension plugin "%s" does not exist' , $ pluginName ) ) ; } return $ this -> plugins [ $ pluginName ] ; }
Returns the plugin by name. Name of the plugin is its fully qualified class name.

@throws \Netgen\BlockManager\Exception\RuntimeException If the specified plugin does not exist
Returns the plugin by name . Name of the plugin is its fully qualified class name .