You are here

public function ExtensionManager::__construct in Zircon Profile 8

Same name in this branch
  1. 8 vendor/zendframework/zend-feed/src/Reader/ExtensionManager.php \Zend\Feed\Reader\ExtensionManager::__construct()
  2. 8 vendor/zendframework/zend-feed/src/Writer/ExtensionManager.php \Zend\Feed\Writer\ExtensionManager::__construct()
Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Writer/ExtensionManager.php \Zend\Feed\Writer\ExtensionManager::__construct()

Constructor

Seeds the extension manager with a plugin manager; if none provided, creates an instance.

Parameters

null|ExtensionPluginManager $pluginManager:

File

vendor/zendframework/zend-feed/src/Writer/ExtensionManager.php, line 29

Class

ExtensionManager
Default implementation of ExtensionManagerInterface

Namespace

Zend\Feed\Writer

Code

public function __construct(ExtensionPluginManager $pluginManager = null) {
  if (null === $pluginManager) {
    $pluginManager = new ExtensionPluginManager();
  }
  $this->pluginManager = $pluginManager;
}