abstract class CommonHookActions (View source)

Parent class of all other hook actions classes

Properties

?string $resprints
mixed|mixed[][] $results
string $error
string[] $errors
string[] $warnings

Methods

bool
isContext(array<string, mixed> $parameters, string[]|string $allContexts)

Check context of hook

Details

protected bool isContext(array<string, mixed> $parameters, string[]|string $allContexts)

Check context of hook

Parameters

array<string, mixed> $parameters

Hook parameters.

string[]|string $allContexts

Context to check

Return Value

bool