I don't think it is wrong altrough I would rather just use $app instance here as you have an easy access to the container from there.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community