protected function registerViewParser()
    {
        $this->container->bind('view.viewparser', function() {
            return new ViewParser(
                $this->container['giml.reader'],
                $this->container['giml.collection'],
                new NamespaceElementFactory('Encore\Wx\Element')
            );
        });
    }
protected function registerViewParser()
    {
        $this->container->bind('view.viewparser', function() {
            return new ViewParser(
                $this->container['giml.reader'],
                $this->container['giml.collection'],
                new NamespaceElementFactory('Encore\Wx\Element')
            );
        });
    }
protected function registerViewParser ( ) { $ this -> container -> bind ( 'view.viewparser' , function ( ) { return new ViewParser ( $ this -> container [ 'giml.reader' ] , $ this -> container [ 'giml.collection' ] , new NamespaceElementFactory ( 'Encore\Wx\Element' ) ) ; } ) ; }
Register the view parser

@return void
Register the view parser