public function composer($views, $callback, $priority = null)
    {
        $theViews = [];

        foreach ((array) $views as $view) {
            $theViews[] = $this->getThemeNamespace($view);
        }

        $this->views->composer($theViews, $callback, $priority);
    }
public function composer($views, $callback, $priority = null)
    {
        $theViews = [];

        foreach ((array) $views as $view) {
            $theViews[] = $this->getThemeNamespace($view);
        }

        $this->views->composer($theViews, $callback, $priority);
    }
public function composer ( $ views , $ callback , $ priority = null ) { $ theViews = [ ] ; foreach ( ( array ) $ views as $ view ) { $ theViews [ ] = $ this -> getThemeNamespace ( $ view ) ; } $ this -> views -> composer ( $ theViews , $ callback , $ priority ) ; }
Register a view composer to current theme.

@param string|array    $views
@param string|callable $callback
@param int|null        $priority
Register a view composer to current theme .