public function getFramework()
{
@trigger_error('Using FrameworkAwareTrait::getFramework() has been deprecated and will no longer work in Contao 5.0.', E_USER_DEPRECATED);
if (null === $this->framework) {
throw new \LogicException('The framework service has not been set.');
}
return $this->framework;
}