public function setModified(\DateTime $modified = null)
    {
        $this->_modified = null === $modified ? new \DateTime() : $modified;

        return $this->getContentInstance();
    }
public function setModified(\DateTime $modified = null)
    {
        $this->_modified = null === $modified ? new \DateTime() : $modified;

        return $this->getContentInstance();
    }
public function setModified ( \ DateTime $ modified = null ) { $ this -> _modified = null === $ modified ? new \ DateTime ( ) : $ modified ; return $ this -> getContentInstance ( ) ; }
Sets the last modification date.

@param DateTime $modified Current date time by default

@return \BackBee\ClassContent\AbstractContent The current instance
@codeCoverageIgnore
Sets the last modification date .