original_string: protected function compileAction($action)
      {
          if (is_null($action)) {
              return $this->attributes;
          }
  
          if (is_string($action) || $action instanceof Closure) {
              $action = ['uses' => $action];
          }
  
          return array_merge($this->attributes, $action);
      }
code: protected function compileAction($action)
      {
          if (is_null($action)) {
              return $this->attributes;
          }
  
          if (is_string($action) || $action instanceof Closure) {
              $action = ['uses' => $action];
          }
  
          return array_merge($this->attributes, $action);
      }
code_tokens: protected function compileAction ( $ action ) { if ( is_null ( $ action ) ) { return $ this -> attributes ; } if ( is_string ( $ action ) || $ action instanceof Closure ) { $ action = [ 'uses' => $ action ] ; } return array_merge ( $ this -> attributes , $ action ) ; }
docstring: Compile the action into an array including the attributes.
  
  @param  \Closure|array|string|null  $action
  @return array
docstring_tokens: Compile the action into an array including the attributes .