I have SQS working with Laravel. All works well but I really need to be able to access the Queue properties. I know AWS/SQS provides these methods and I see protected methods when I look at the contents of
Queue::getSqs()
But not seeing any native Laravel way to access the queue attributes. How can I access them?
You are correct - they are protected methods. But when you run Queue::getSqs() - it is returning the underlying SQS instance - which means you have access to those methods.
So this works:
As does this:
A full list of available commands is here at the AWS website.