original_string: public function chain($chain)
      {
          $this->chained = collect($chain)->map(function ($job) {
              return serialize($job);
          })->all();
  
          return $this;
      }
code: public function chain($chain)
      {
          $this->chained = collect($chain)->map(function ($job) {
              return serialize($job);
          })->all();
  
          return $this;
      }
code_tokens: public function chain ( $ chain ) { $ this -> chained = collect ( $ chain ) -> map ( function ( $ job ) { return serialize ( $ job ) ; } ) -> all ( ) ; return $ this ; }
docstring: Set the jobs that should run if this job is successful.
  
  @param  array  $chain
  @return $this
docstring_tokens: Set the jobs that should run if this job is successful .