public function setExpires($timestamp)
    {
        $this->data['Expires'] = is_numeric($timestamp)
            ? (int) $timestamp
            : strtotime($timestamp);

        return $this;
    }
public function setExpires($timestamp)
    {
        $this->data['Expires'] = is_numeric($timestamp)
            ? (int) $timestamp
            : strtotime($timestamp);

        return $this;
    }
public function setExpires ( $ timestamp ) { $ this -> data [ 'Expires' ] = is_numeric ( $ timestamp ) ? ( int ) $ timestamp : strtotime ( $ timestamp ) ; return $ this ; }
Set the unix timestamp for which the cookie will expire

@param int $timestamp Unix timestamp

@return self
Set the unix timestamp for which the cookie will expire