Skip to content

Commit d1dc89b

Browse files
authored
Added some output for hook name visibility
1 parent e89c871 commit d1dc89b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Hook.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ public function __call($method, $args)
5757
$callable = $this->resolveArgument($args[0]);
5858

5959
Hooks::$method($this->buildTransactionName(), function (&$transaction) use ($callable) {
60+
61+
echo "Running Hook: " . $this->buildTransactionName();
62+
6063
$transactionObject = new Transaction($transaction);
6164
$callable($transactionObject);
6265
$transaction = $transactionObject->getTransaction();

0 commit comments

Comments
 (0)