src/Framework/Kernel/Bootstrap/ErrorHandling.php
private function registerErrorReporters()
    {
        $this->container()->factory(
            ErrorReporterAggregateContract::class,
            function () {
                $reporters = new ErrorReporterAggregate($this->container());
                $reporters->push(LogErrorReporter::class);

                return $reporters;
            },
            true
        );
    }
private function registerErrorReporters()
    {
        $this->container()->factory(
            ErrorReporterAggregateContract::class,
            function () {
                $reporters = new ErrorReporterAggregate($this->container());
                $reporters->push(LogErrorReporter::class);

                return $reporters;
            },
            true
        );
    }
private function registerErrorReporters ( ) { $ this -> container ( ) -> factory ( ErrorReporterAggregateContract :: class , function ( ) { $ reporters = new ErrorReporterAggregate ( $ this -> container ( ) ) ; $ reporters -> push ( LogErrorReporter :: class ) ; return $ reporters ; } , true ) ; }
Registers default error reporters.
Registers default error reporters .