public function Feed::createTombstone in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-feed/src/Writer/Feed.php \Zend\Feed\Writer\Feed::createTombstone()
Creates a new Zend\Feed\Writer\Deleted data container for use. This is NOT added to the current feed automatically, but is necessary to create a container with some initial values preset based on the current feed data.
Return value
File
- vendor/
zendframework/ zend-feed/ src/ Writer/ Feed.php, line 69
Class
Namespace
Zend\Feed\WriterCode
public function createTombstone() {
$deleted = new Deleted();
if ($this
->getEncoding()) {
$deleted
->setEncoding($this
->getEncoding());
}
$deleted
->setType($this
->getType());
return $deleted;
}