src/Spiritix/LadaCache/LadaCacheServiceProvider.php
private function registerDebugbarCollector()
    {
        $this->app->singleton('lada.collector', function() {
            return new CacheCollector();
        });

        $debugBar = $this->app->make('debugbar');
        $debugBar->addCollector($this->app->make('lada.collector'));
    }
private function registerDebugbarCollector()
    {
        $this->app->singleton('lada.collector', function() {
            return new CacheCollector();
        });

        $debugBar = $this->app->make('debugbar');
        $debugBar->addCollector($this->app->make('lada.collector'));
    }
private function registerDebugbarCollector ( ) { $ this -> app -> singleton ( 'lada.collector' , function ( ) { return new CacheCollector ( ) ; } ) ; $ debugBar = $ this -> app -> make ( 'debugbar' ) ; $ debugBar -> addCollector ( $ this -> app -> make ( 'lada.collector' ) ) ; }
Register our custom debugbar collector.
Register our custom debugbar collector .