function DevelDumperBase::getInternalFunctions

Same name in other branches
  1. 5.x src/DevelDumperBase.php \Drupal\devel\DevelDumperBase::getInternalFunctions()

Returns a list of internal functions.

The list returned from this method can be used to exclude internal functions from the backtrace output.

Return value

array An array of internal functions.

1 call to DevelDumperBase::getInternalFunctions()
Kint::getInternalFunctions in src/Plugin/Devel/Dumper/Kint.php
Returns a list of internal functions.
1 method overrides DevelDumperBase::getInternalFunctions()
Kint::getInternalFunctions in src/Plugin/Devel/Dumper/Kint.php
Returns a list of internal functions.

File

src/DevelDumperBase.php, line 55

Class

DevelDumperBase
Defines a base devel dumper implementation.

Namespace

Drupal\devel

Code

protected function getInternalFunctions() {
    $class_name = get_class($this);
    $manager_class_name = DevelDumperManager::class;
    $aliases = [
        [
            $class_name,
            'dump',
        ],
        [
            $class_name,
            'export',
        ],
        [
            $manager_class_name,
            'dump',
        ],
        [
            $manager_class_name,
            'export',
        ],
        [
            $manager_class_name,
            'exportAsRenderable',
        ],
        [
            $manager_class_name,
            'message',
        ],
        [
            Debug::class,
            'dump',
        ],
        'dpm',
        'dvm',
        'dsm',
        'dpr',
        'dvr',
        'kpr',
        'dargs',
        'dcp',
        'dfb',
        'dfbt',
        'dpq',
        'kint',
        'ksm',
        'ddebug_backtrace',
        'kdevel_print_object',
        'backtrace_error_handler',
    ];
    return $aliases;
}