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);
        }
    }
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);
        }
    }
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 ) ; } }
Initializes the dependencies by retrieving them from the object manager

@return void
Initializes the dependencies by retrieving them from the object manager