src/Spiritix/LadaCache/QueryHandler.php
private function constructCollector()
    {
        try {
            $this->collector = app()->make('lada.collector');
            $this->collector->startMeasuring();
        }
        catch (ReflectionException $e) {
            $this->collector = null;
        }
    }
private function constructCollector()
    {
        try {
            $this->collector = app()->make('lada.collector');
            $this->collector->startMeasuring();
        }
        catch (ReflectionException $e) {
            $this->collector = null;
        }
    }
private function constructCollector ( ) { try { $ this -> collector = app ( ) -> make ( 'lada.collector' ) ; $ this -> collector -> startMeasuring ( ) ; } catch ( ReflectionException $ e ) { $ this -> collector = null ; } }
Constructs a collector instance.

If debug bar is not available (collector service not booted), the collector will be set to null.
Constructs a collector instance .