protected callCallable ( callable $callable, |
||
$callable | callable | |
$context | ||
$type | string | the type of callable (self::CALLABLE_ENTRY | self::CALLABLE_EXIT) |
protected function callCallable($callable, Context $context, $type = 'n/a')
{
if ($callable != self::CALLABLE_NULL) {
Utils::checkCallable($callable, $type, $this, $context);
call_user_func($callable, $context->getEntity());
}
}