You are here

public function AbstractFeed::remove in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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;
}