public function shutdown() { if ($this->cacheNeedsUpdate === true) { $this->saveConfigurationCache(); } }