public function creator($views, $callback)
    {
        $creators = array();

        foreach ((array) $views as $view) {
            $creators[] = $this->addViewEvent($view, $callback, 'creating: ');
        }

        return $creators;
    }
public function creator($views, $callback)
    {
        $creators = array();

        foreach ((array) $views as $view) {
            $creators[] = $this->addViewEvent($view, $callback, 'creating: ');
        }

        return $creators;
    }
public function creator ( $ views , $ callback ) { $ creators = array ( ) ; foreach ( ( array ) $ views as $ view ) { $ creators [ ] = $ this -> addViewEvent ( $ view , $ callback , 'creating: ' ) ; } return $ creators ; }
Register a view creator event.

@param  array|string     $views
@param  \Closure|string  $callback
@return array
Register a view creator event .