Someone
public text v1 · immutableprotected function createComponent($name)
{
try {
$callback = $this->getPresenter()->context->getItem($name)->componentCallback;
return $callback($this, $name);
} catch (\Exception $e) {
try {
$callback = $this->getContext()->getComponent($name);
return $callback($this, $name);
} catch (\Exception $e) {
try {
return parent::createComponent($name);
} catch (\Exception $e) {
echo "xxx";
}
}
}
}