src/Queues/PayloadParsers/SqsStandardPayloadParser.php
/**
     * Higher order function to convert message attributes to standard key value pair array.
     *
     * @return callable
     */
Higher order function to convert message attributes to standard key value pair array.
@return callable
Higher order function to convert message attributes to standard key value pair array . @return callable
private function attributesToValues(): callable
    {
        return function ($value) {
            return $value[self::TYPES[$value['DataType']]];
        };
    }
private function attributesToValues ( ) : callable { return function ( $ value ) { return $ value [ self :: TYPES [ $ value [ 'DataType' ] ] ] ; } ; }
Higher order function to convert message attributes to standard key value pair array.
Higher order function to convert message attributes to standard key value pair array .