name = $name; $this->value = $this->getConfig()->get( $this->name ); } private function getConfig() { return MediaWikiServices::getInstance()->getMainConfig(); } /** * @return bool */ function isExpired() { if ( !$this->getConfig()->has( $this->name ) ) { return true; } return $this->getConfig()->get( $this->name ) != $this->value; } }