private static function validateEnvironment(string $specifiedEnvironment): void
    {
        if ('' === $specifiedEnvironment ||
            false === \in_array($specifiedEnvironment, self::LIST, true)
        ) {
            throw new \LogicException(
                \sprintf(
                    'Provided incorrect value of the environment: "%s". Allowable values: %s',
                    $specifiedEnvironment,
                    \implode(', ', \array_values(self::LIST))
                )
            );
        }
    }