Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

HookManagerInterface.php

Namespace

OpenTelemetry\API\Instrumentation\AutoInstrumentation

File

vendor/open-telemetry/api/Instrumentation/AutoInstrumentation/HookManagerInterface.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\API\Instrumentation\AutoInstrumentation;

use Closure;
use Throwable;
interface HookManagerInterface {
    
    /**
     * @param ?Closure(object|string|null, array, ?string, string, ?string, ?int): (array|null|void) $preHook
     * @param ?Closure(object|string|null, array, mixed, ?Throwable): (mixed|void) $postHook
     */
    public function hook(?string $class, string $function, ?Closure $preHook = null, ?Closure $postHook = null) : void;

}

Interfaces

Title Deprecated Summary
HookManagerInterface
RSS feed
Powered by Drupal