public function addUpdated(\DateTimeInterface $time)
    {
        /** @var Updated $element */
        $element = $this->addChild('atom:updated', 'updated');
        $element->setDate($time);

        return $element;
    }
public function addUpdated(\DateTimeInterface $time)
    {
        /** @var Updated $element */
        $element = $this->addChild('atom:updated', 'updated');
        $element->setDate($time);

        return $element;
    }
public function addUpdated ( \ DateTimeInterface $ time ) { /** @var Updated $element */ $ element = $ this -> addChild ( 'atom:updated' , 'updated' ) ; $ element -> setDate ( $ time ) ; return $ element ; }
Add date updated.

@param \DateTimeInterface $time

@return Updated

@since 1.0
Add date updated .