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