You are here

public function StandaloneExtensionManager::get in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Reader/StandaloneExtensionManager.php \Zend\Feed\Reader\StandaloneExtensionManager::get()

Retrieve the extension

Parameters

string $extension:

Return value

Extension\AbstractEntry|Extension\AbstractFeed

Overrides ExtensionManagerInterface::get

File

vendor/zendframework/zend-feed/src/Reader/StandaloneExtensionManager.php, line 47

Class

StandaloneExtensionManager

Namespace

Zend\Feed\Reader

Code

public function get($extension) {
  $class = $this->extensions[$extension];
  return new $class();
}