Class CallbackHandler
Definition at line 15 of file CallbackHandler.php.
◆ __construct()
◆ attach()
attach |
( |
|
$entityType, |
|
|
|
$callback |
|
) |
| |
- Parameters
-
string | $entityType | |
array | $callback | |
- Exceptions
-
Definition at line 70 of file CallbackHandler.php.
72 $metadata = $this->metadataPool->getMetadata(
$entityType);
static attach($hashKey, $callback)
◆ clear()
◆ process()
- Parameters
-
- Exceptions
-
Definition at line 46 of file CallbackHandler.php.
48 $metadata = $this->metadataPool->getMetadata(
$entityType);
54 foreach ($callbacks as $callback) {
57 }
catch (\Exception $e) {
58 $this->logger->error($e->getMessage(), $e->getTrace());
call_user_func($callable, $param)
◆ $logger
◆ $metadataPool
The documentation for this class was generated from the following file: