public function mapToFrom($value)
    {
        $hours   = floor($value / 60);
        $minutes = $value - $hours * 60;

        return sprintf('%d:%02d', $hours, $minutes);
    }
public function mapToFrom($value)
    {
        $hours   = floor($value / 60);
        $minutes = $value - $hours * 60;

        return sprintf('%d:%02d', $hours, $minutes);
    }
@param \DateTime $value

@return mixed