public function toMinutes($d)
    {
        $v = $this->getValue();
        if ($v < self::MINUTES) {
            return $d/($this->c4/$this->{'c'.$v});
        } else {
            return $this->x($d, $this->{'c'.$v}/$this->c4, PHP_INT_MAX/($this->{'c'.$v}/$this->c4));
        }
    }
public function toMinutes($d)
    {
        $v = $this->getValue();
        if ($v < self::MINUTES) {
            return $d/($this->c4/$this->{'c'.$v});
        } else {
            return $this->x($d, $this->{'c'.$v}/$this->c4, PHP_INT_MAX/($this->{'c'.$v}/$this->c4));
        }
    }
public function toMinutes ( $ d ) { $ v = $ this -> getValue ( ) ; if ( $ v < self :: MINUTES ) { return $ d / ( $ this -> c4 / $ this -> { 'c' . $ v } ) ; } else { return $ this -> x ( $ d , $ this -> { 'c' . $ v } / $ this -> c4 , PHP_INT_MAX / ( $ this -> { 'c' . $ v } / $ this -> c4 ) ) ; } }
Convert to minutes

@param int $d
@return float|int
Convert to minutes