original_string: public function composer($views, $callback)
      {
          $composers = [];
  
          foreach ((array) $views as $view) {
              $composers[] = $this->addViewEvent($view, $callback, 'composing: ');
          }
  
          return $composers;
      }
code: public function composer($views, $callback)
      {
          $composers = [];
  
          foreach ((array) $views as $view) {
              $composers[] = $this->addViewEvent($view, $callback, 'composing: ');
          }
  
          return $composers;
      }
code_tokens: public function composer ( $ views , $ callback ) { $ composers = [ ] ; foreach ( ( array ) $ views as $ view ) { $ composers [ ] = $ this -> addViewEvent ( $ view , $ callback , 'composing: ' ) ; } return $ composers ; }
docstring: Register a view composer event.
  
  @param  array|string  $views
  @param  \Closure|string  $callback
  @return array
docstring_tokens: Register a view composer event .