You are here

public function AbstractFeed::remove in Zircon Profile 8

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

Unset a specific data point

Parameters

string $name:

Return value

AbstractFeed

File

vendor/zendframework/zend-feed/src/Writer/AbstractFeed.php, line 798

Class

AbstractFeed

Namespace

Zend\Feed\Writer

Code

public function remove($name) {
  if (isset($this->data[$name])) {
    unset($this->data[$name]);
  }
  return $this;
}