src/CLI/InitCommand.php
private static function checkExchangeConfiguration(array $exchangeInformation)
    {
        Assertion::keyIsset($exchangeInformation, 'name', 'You must provide a name for the exchange');
        Assertion::keyIsset($exchangeInformation, 'type', 'You must provide a type for the exchange');

        self::checkQueuesConfiguration($exchangeInformation);
    }
private static function checkExchangeConfiguration(array $exchangeInformation)
    {
        Assertion::keyIsset($exchangeInformation, 'name', 'You must provide a name for the exchange');
        Assertion::keyIsset($exchangeInformation, 'type', 'You must provide a type for the exchange');

        self::checkQueuesConfiguration($exchangeInformation);
    }
@param array $exchangeInformation

@throws AssertionFailedException