private function getTimestamp($timestamp) { $timestamp = null === $timestamp ? time() : $timestamp; Assertion::greaterOrEqualThan($timestamp, 0, 'Timestamp must be at least 0.'); return $timestamp; }