You are here

public function AbstractEntry::getExtension in Zircon Profile 8

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

Return an Extension object with the matching name (postfixed with _Entry)

Parameters

string $name:

Return value

Reader\Extension\AbstractEntry

File

vendor/zendframework/zend-feed/src/Reader/Entry/AbstractEntry.php, line 183

Class

AbstractEntry

Namespace

Zend\Feed\Reader\Entry

Code

public function getExtension($name) {
  if (array_key_exists($name . '\\Entry', $this->extensions)) {
    return $this->extensions[$name . '\\Entry'];
  }
  return;
}