public function registerNamespaces()
    {
        foreach ($this->all() as $theme) {
            foreach (array('views', 'lang') as $hint) {
                $this->{$hint}->addNamespace($theme->getLowerName(), $theme->getPath($hint));
            }

            $theme->boot();
        }
    }
public function registerNamespaces()
    {
        foreach ($this->all() as $theme) {
            foreach (array('views', 'lang') as $hint) {
                $this->{$hint}->addNamespace($theme->getLowerName(), $theme->getPath($hint));
            }

            $theme->boot();
        }
    }
public function registerNamespaces ( ) { foreach ( $ this -> all ( ) as $ theme ) { foreach ( array ( 'views' , 'lang' ) as $ hint ) { $ this -> { $ hint } -> addNamespace ( $ theme -> getLowerName ( ) , $ theme -> getPath ( $ hint ) ) ; } $ theme -> boot ( ) ; } }
Register the namespaces.
Register the namespaces .