protected function initializeDependencies()
{
if ($this->securityContext === null) {
$this->securityContext = Bootstrap::$staticObjectManager->get(Context::class);
}
if ($this->policyService === null) {
$this->policyService = Bootstrap::$staticObjectManager->get(PolicyService::class);
}
}