protected static function validateAggregator(string $data): string
    {
        $options = array_keys(Options::getAggregators());
        if (!in_array($data, $options)) {
            $data = Options::DEFAULT_AGGREGATOR;
        }

        return $data;
    }