src/Carbon/Traits/Difference.php
public function diffInHoursFiltered(Closure $callback, $date = null, $absolute = true)
    {
        return $this->diffFiltered(CarbonInterval::hour(), $callback, $date, $absolute);
    }
public function diffInHoursFiltered(Closure $callback, $date = null, $absolute = true)
    {
        return $this->diffFiltered(CarbonInterval::hour(), $callback, $date, $absolute);
    }
public function diffInHoursFiltered ( Closure $ callback , $ date = null , $ absolute = true ) { return $ this -> diffFiltered ( CarbonInterval :: hour ( ) , $ callback , $ date , $ absolute ) ; }
Get the difference in hours using a filter closure

@param Closure                               $callback
@param Carbon|\DateTimeInterface|string|null $date
@param bool                                  $absolute Get the absolute of the difference

@return int
Get the difference in hours using a filter closure