function setExpiresIn($expiry)
    {
        $this->expiresIn = $expiry;
        $this->datetimeExpiration = $this->getDateTimeExpiration();
        return $this;
    }
function setExpiresIn($expiry)
    {
        $this->expiresIn = $expiry;
        $this->datetimeExpiration = $this->getDateTimeExpiration();
        return $this;
    }
function setExpiresIn ( $ expiry ) { $ this -> expiresIn = $ expiry ; $ this -> datetimeExpiration = $ this -> getDateTimeExpiration ( ) ; return $ this ; }
Set Expiry DateTime

@param \DateTime $expiry

@return $this
Set Expiry DateTime