protected function getExpiry($expiry, $relativeTimestamp)
    {
        if (!is_int($expiry)) {
            $expiry = strtotime($expiry, $relativeTimestamp);
        }

        return $expiry;
    }
protected function getExpiry($expiry, $relativeTimestamp)
    {
        if (!is_int($expiry)) {
            $expiry = strtotime($expiry, $relativeTimestamp);
        }

        return $expiry;
    }
protected function getExpiry ( $ expiry , $ relativeTimestamp ) { if ( ! is_int ( $ expiry ) ) { $ expiry = strtotime ( $ expiry , $ relativeTimestamp ) ; } return $ expiry ; }
Retrieves the request expiry as a timestamp.

@param int|string $expiry
The passed expiry.
@param int $relativeTimestamp
The timestamp from which to base the expiry.

@return int
The expiry as a timestamp.
Retrieves the request expiry as a timestamp .