You are here

public function StandaloneExtensionManager::has 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::has()

Do we have the extension?

Parameters

string $extension:

Return value

bool

Overrides ExtensionManagerInterface::has

File

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

Class

StandaloneExtensionManager

Namespace

Zend\Feed\Reader

Code

public function has($extension) {
  return array_key_exists($extension, $this->extensions);
}