public function shutterSpeed($value, $unit = self::TIMEUNIT_SECOND)
    {
        $this->assertPositiveNumber($value);

        $this->valueArguments['shutter'] = $this->convertTimeUnit(
            $value,
            $unit,
            self::TIMEUNIT_MICROSECOND
        );

        return $this;
    }
public function shutterSpeed($value, $unit = self::TIMEUNIT_SECOND)
    {
        $this->assertPositiveNumber($value);

        $this->valueArguments['shutter'] = $this->convertTimeUnit(
            $value,
            $unit,
            self::TIMEUNIT_MICROSECOND
        );

        return $this;
    }
public function shutterSpeed ( $ value , $ unit = self :: TIMEUNIT_SECOND ) { $ this -> assertPositiveNumber ( $ value ) ; $ this -> valueArguments [ 'shutter' ] = $ this -> convertTimeUnit ( $ value , $ unit , self :: TIMEUNIT_MICROSECOND ) ; return $ this ; }
Set the shutter speed to the specified time.

There is currently an upper limit of approximately 6000000us (6000ms, 6s) past which operation is undefined.
Unit can be one of: `Raspicam::TIMEUNIT_MINUTE`, `Raspicam::TIMEUNIT_SECOND`,
`Raspicam::TIMEUNIT_MILLISECOND`, `Raspicam::TIMEUNIT_MICROSECOND`.

@param int|float $value Shutter speed
@param string    $unit  Optional. Time unit for $value Default: `Raspicam::TIMEUNIT_SECOND`

@return $this
Set the shutter speed to the specified time .