original_string: public function footer(Closure $closure = null)
      {
          if (!$closure) {
              return $this->footer;
          }
  
          $this->footer = $closure;
  
          return $this;
      }
code: public function footer(Closure $closure = null)
      {
          if (!$closure) {
              return $this->footer;
          }
  
          $this->footer = $closure;
  
          return $this;
      }
code_tokens: public function footer ( Closure $ closure = null ) { if ( ! $ closure ) { return $ this -> footer ; } $ this -> footer = $ closure ; return $ this ; }
docstring: Set grid footer.
  
  @param Closure|null $closure
  
  @return $this|Closure
docstring_tokens: Set grid footer .