protected function getRootControllerNamespace()
    {
        $urlGenerator = $this->app['url'];
        $reflection = new \ReflectionClass($urlGenerator);

        $property = $reflection->getProperty('rootNamespace');
        $property->setAccessible(true);

        return $property->getValue($urlGenerator);
    }
protected function getRootControllerNamespace()
    {
        $urlGenerator = $this->app['url'];
        $reflection = new \ReflectionClass($urlGenerator);

        $property = $reflection->getProperty('rootNamespace');
        $property->setAccessible(true);

        return $property->getValue($urlGenerator);
    }
protected function getRootControllerNamespace ( ) { $ urlGenerator = $ this -> app [ 'url' ] ; $ reflection = new \ ReflectionClass ( $ urlGenerator ) ; $ property = $ reflection -> getProperty ( 'rootNamespace' ) ; $ property -> setAccessible ( true ) ; return $ property -> getValue ( $ urlGenerator ) ; }
Get the root controller namespace for the application.

@return string
Get the root controller namespace for the application .