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()); } }