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')
            );
        });
    }