public function __construct(ApplicationContext $context) { $this->context = $context; $this->shutdownObjects = new \SplObjectStorage(); $this->internalShutdownObjects = new \SplObjectStorage(); }