public static function isFuture($timestamp, $leeway = 0)
    {
        $timestamp = static::timestamp($timestamp);

        return $leeway > 0
            ? $timestamp->subSeconds($leeway)->isFuture()
            : $timestamp->isFuture();
    }
public static function isFuture($timestamp, $leeway = 0)
    {
        $timestamp = static::timestamp($timestamp);

        return $leeway > 0
            ? $timestamp->subSeconds($leeway)->isFuture()
            : $timestamp->isFuture();
    }
public static function isFuture ( $ timestamp , $ leeway = 0 ) { $ timestamp = static :: timestamp ( $ timestamp ) ; return $ leeway > 0 ? $ timestamp -> subSeconds ( $ leeway ) -> isFuture ( ) : $ timestamp -> isFuture ( ) ; }
Checks if a timestamp is in the future.

@param  int  $timestamp
@param  int  $leeway

@return bool
Checks if a timestamp is in the future .