src/PeekAndPoke/Component/Formal/Mapper/TimeMapper.php
public function mapFromForm($value)
    {
        $timeTokens = explode(':', $value);

        if (count($timeTokens) === 1) {
            $timeTokens[1] = 0;
        }

        return $timeTokens[0] * 60 + $timeTokens[1];
    }
public function mapFromForm($value)
    {
        $timeTokens = explode(':', $value);

        if (count($timeTokens) === 1) {
            $timeTokens[1] = 0;
        }

        return $timeTokens[0] * 60 + $timeTokens[1];
    }
@param mixed $value

@return mixed