public function registerHelpers()
    {
        // register breadcrumbs
        $this->app['breadcrumbs'] = $this->app->share(function () {
            return new \MrJuliuss\Syntara\Helpers\Breadcrumbs();
        });

        // shortcut so developers don't need to add an Alias in app/config/app.php
        $this->app->booting(function () {
            $loader = \Illuminate\Foundation\AliasLoader::getInstance();
            $loader->alias('Breadcrumbs', 'MrJuliuss\Syntara\Facades\Breadcrumbs');
        });
    }
public function registerHelpers()
    {
        // register breadcrumbs
        $this->app['breadcrumbs'] = $this->app->share(function () {
            return new \MrJuliuss\Syntara\Helpers\Breadcrumbs();
        });

        // shortcut so developers don't need to add an Alias in app/config/app.php
        $this->app->booting(function () {
            $loader = \Illuminate\Foundation\AliasLoader::getInstance();
            $loader->alias('Breadcrumbs', 'MrJuliuss\Syntara\Facades\Breadcrumbs');
        });
    }
public function registerHelpers ( ) { // register breadcrumbs $ this -> app [ 'breadcrumbs' ] = $ this -> app -> share ( function ( ) { return new \ MrJuliuss \ Syntara \ Helpers \ Breadcrumbs ( ) ; } ) ; // shortcut so developers don't need to add an Alias in app/config/app.php $ this -> app -> booting ( function ( ) { $ loader = \ Illuminate \ Foundation \ AliasLoader :: getInstance ( ) ; $ loader -> alias ( 'Breadcrumbs' , 'MrJuliuss\Syntara\Facades\Breadcrumbs' ) ; } ) ; }
Register helpers in app
Register helpers in app