You are here

public function Entry::getExtension in Zircon Profile 8

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

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

Parameters

string $name:

Return value

object

File

vendor/zendframework/zend-feed/src/Writer/Entry.php, line 657

Class

Entry

Namespace

Zend\Feed\Writer

Code

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