public function setCreated(\DateTime $created = null)
    {
        $this->_created = null === $created ? new \DateTime() : $created;

        return $this->getContentInstance();
    }
public function setCreated(\DateTime $created = null)
    {
        $this->_created = null === $created ? new \DateTime() : $created;

        return $this->getContentInstance();
    }
public function setCreated ( \ DateTime $ created = null ) { $ this -> _created = null === $ created ? new \ DateTime ( ) : $ created ; return $ this -> getContentInstance ( ) ; }
Sets creation date.

@param \DateTime $created Current date time by default

@return \BackBee\ClassContent\AbstractContent The current instance
@codeCoverageIgnore
Sets creation date .