src/SweetAlert.php
public function autoclose($time=2000)
    {
        unset($this->params['timer']);

        if ($time !== false) {
            $this->params['timer'] = (int)$time;
        }

        return $this;
    }
public function autoclose($time=2000)
    {
        unset($this->params['timer']);

        if ($time !== false) {
            $this->params['timer'] = (int)$time;
        }

        return $this;
    }
public function autoclose ( $ time = 2000 ) { unset ( $ this -> params [ 'timer' ] ) ; if ( $ time !== false ) { $ this -> params [ 'timer' ] = ( int ) $ time ; } return $ this ; }
AutoClose the Modal after specified milliseconds
@param  integer
@return [type]
AutoClose the Modal after specified milliseconds