I'm looking for a way to pass more than just one variable to the policy function. According to the docs, you can pass an array of multiple variables when using Gates. When I pass an array into the policy function, dumping the array only shows the object bound to the policy... for more information see this thread on stackoverflow please: https://stackoverflow.com/questions/36482737/laravel-policies-how-to-pass-multiple-arguments-to-function
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community