src/ServiceBus/Models/BrokerProperties.php
public function setValueArrayString(array &$valueArray, $key, $value)
    {
        Validate::isString($key, 'key');

        if (!empty($value)) {
            Validate::isString($value, 'value');
            $valueArray[$key] = $value;
        }
    }
public function setValueArrayString(array &$valueArray, $key, $value)
    {
        Validate::isString($key, 'key');

        if (!empty($value)) {
            Validate::isString($value, 'value');
            $valueArray[$key] = $value;
        }
    }
public function setValueArrayString ( array & $ valueArray , $ key , $ value ) { Validate :: isString ( $ key , 'key' ) ; if ( ! empty ( $ value ) ) { Validate :: isString ( $ value , 'value' ) ; $ valueArray [ $ key ] = $ value ; } }
Sets a string in an array.

@param array  &$valueArray The array of a set of values
@param string $key         The key of the key value pair
@param string $value       The value of the key value pair
Sets a string in an array .