public function getCoreErrorHandler()
    {
        return function($type, $message, $file, $line) {
            return $this->handleCoreError($type, $message, $file, $line);
        };
    }
public function getCoreErrorHandler()
    {
        return function($type, $message, $file, $line) {
            return $this->handleCoreError($type, $message, $file, $line);
        };
    }
public function getCoreErrorHandler ( ) { return function ( $ type , $ message , $ file , $ line ) { return $ this -> handleCoreError ( $ type , $ message , $ file , $ line ) ; } ; }
Returns the callback being used to handle core errors

This method is primarily used internally when setting up error callbacks, but
is left public for testing purposes. It essentially returns a reference to
the ::handleCoreError() method.

The returned closure has the following signature:
```php
function(int $type, string $message, string $file, int $line) {}
```

@return Closure
Returns the callback being used to handle core errors