public function registerViewLoader()
    {
        $this->app->bind('view.loader', function ($app) {

            // Create the FilesystemLoader
            $filesystemLoader = new FilesystemLoader($app['files']);

            // Create the VpageLoader
            $vpageLoader = new VpageLoader();

            // Create the ChainLoader
            $chainLoader = new ChainLoader();
            $chainLoader->addLoader($vpageLoader);
            $chainLoader->addLoader($filesystemLoader);

            return $chainLoader;
        });
    }
public function registerViewLoader()
    {
        $this->app->bind('view.loader', function ($app) {

            // Create the FilesystemLoader
            $filesystemLoader = new FilesystemLoader($app['files']);

            // Create the VpageLoader
            $vpageLoader = new VpageLoader();

            // Create the ChainLoader
            $chainLoader = new ChainLoader();
            $chainLoader->addLoader($vpageLoader);
            $chainLoader->addLoader($filesystemLoader);

            return $chainLoader;
        });
    }
public function registerViewLoader ( ) { $ this -> app -> bind ( 'view.loader' , function ( $ app ) { // Create the FilesystemLoader $ filesystemLoader = new FilesystemLoader ( $ app [ 'files' ] ) ; // Create the VpageLoader $ vpageLoader = new VpageLoader ( ) ; // Create the ChainLoader $ chainLoader = new ChainLoader ( ) ; $ chainLoader -> addLoader ( $ vpageLoader ) ; $ chainLoader -> addLoader ( $ filesystemLoader ) ; return $ chainLoader ; } ) ; }
Register the view loader implementation.

@return void
Register the view loader implementation .