config = $config; } public function getStates() { $conf = $this->config; unset( $conf[self::CONDKEY] ); return $conf; } public function getConditions() { $conf = $this->config; if ( isset( $conf[self::CONDKEY] ) ) { return $conf[self::CONDKEY]; } else { return []; } } }