Cake\Chronos\ChronosInterface::diffInHoursFiltered PHP Method

diffInHoursFiltered() public method

Get the difference in hours using a filter callable
public diffInHoursFiltered ( callable $callback, Cake\Chronos\ChronosInterface $dt = null, boolean $abs = true ) : integer
$callback callable The callback to use for filtering.
$dt Cake\Chronos\ChronosInterface The instance to difference from.
$abs boolean Get the absolute of the difference
return integer
    public function diffInHoursFiltered(callable $callback, ChronosInterface $dt = null, $abs = true);
ChronosInterface