public function setExpire(\DateTime $expire = null)
    {
        $this->_expire = ($expire) ? $expire : null;

        return $this;
    }
public function setExpire(\DateTime $expire = null)
    {
        $this->_expire = ($expire) ? $expire : null;

        return $this;
    }
public function setExpire ( \ DateTime $ expire = null ) { $ this -> _expire = ( $ expire ) ? $ expire : null ; return $ this ; }
Sets the expire date time.

@param \DateTime $expire

@return \BackBee\Cache\DAO\Entity
@codeCoverageIgnore
Sets the expire date time .