public function args(array $arguments)
    {
        // provide a new instance of the scheduler class if this
        // is the first method that was called.  This allows for
        // $scheduler->opts() to return a new instance of the
        // scheduler when it's first called
        if (count($this->options) == 0) {
            $scheduler = App::make(get_called_class());
            $scheduler->setArguments($arguments);

            return $scheduler;
        }

        $this->setArguments($arguments);

        return $this;
    }
public function args(array $arguments)
    {
        // provide a new instance of the scheduler class if this
        // is the first method that was called.  This allows for
        // $scheduler->opts() to return a new instance of the
        // scheduler when it's first called
        if (count($this->options) == 0) {
            $scheduler = App::make(get_called_class());
            $scheduler->setArguments($arguments);

            return $scheduler;
        }

        $this->setArguments($arguments);

        return $this;
    }
public function args ( array $ arguments ) { // provide a new instance of the scheduler class if this // is the first method that was called.  This allows for // $scheduler->opts() to return a new instance of the // scheduler when it's first called if ( count ( $ this -> options ) == 0 ) { $ scheduler = App :: make ( get_called_class ( ) ) ; $ scheduler -> setArguments ( $ arguments ) ; return $ scheduler ; } $ this -> setArguments ( $ arguments ) ; return $ this ; }
Define arguments for this schedule when it runs.

@param array $arguments

@return \Indatus\Dispatcher\Scheduling\Schedulable
Define arguments for this schedule when it runs .