Neos\Flow\ObjectManagement\ObjectManager::shutdown PHP Метод

shutdown() публичный Метод

Shuts down this Object Container by calling the shutdown methods of all object instances which were configured to be shut down.
public shutdown ( ) : void
Результат void
    public function shutdown()
    {
        $this->callShutdownMethods($this->shutdownObjects);
        $securityContext = $this->get(Context::class);
        /** @var Context $securityContext */
        if ($securityContext->isInitialized()) {
            $this->get(Context::class)->withoutAuthorizationChecks(function () {
                $this->callShutdownMethods($this->internalShutdownObjects);
            });
        } else {
            $this->callShutdownMethods($this->internalShutdownObjects);
        }
    }