original_string: public function actions($actions)
      {
          if ($actions instanceof Closure) {
              $this->actionsCallback = $actions;
          }
  
          if (is_string($actions) && is_subclass_of($actions, Displayers\Actions::class)) {
              $this->actionsClass = $actions;
          }
  
          return $this;
      }
code: public function actions($actions)
      {
          if ($actions instanceof Closure) {
              $this->actionsCallback = $actions;
          }
  
          if (is_string($actions) && is_subclass_of($actions, Displayers\Actions::class)) {
              $this->actionsClass = $actions;
          }
  
          return $this;
      }
code_tokens: public function actions ( $ actions ) { if ( $ actions instanceof Closure ) { $ this -> actionsCallback = $ actions ; } if ( is_string ( $ actions ) && is_subclass_of ( $ actions , Displayers \ Actions :: class ) ) { $ this -> actionsClass = $ actions ; } return $ this ; }
docstring: Set grid action callback.
  
  @param Closure|string $actions
  
  @return $this
docstring_tokens: Set grid action callback .