protected function registerBladeExtensions()
    {
        $blade = $this->app['view']->getEngineResolver()->resolve('blade')->getCompiler();

        $blade->directive('laravelImage', function ($options) {
            return "<?php echo \\AnkitPokhrel\\LaravelImage\\LaravelImageFacade::image($options);?>";
        });
    }