Skip to content

Conversation

@PellegrinoDurante
Copy link
Contributor

In our company we are using PHPSA Controllers with a custom guard different from the default one.
This PR adds the ability to specify a custom guard to be used within a controller and in the resources created from it.

@Cadienvan
Copy link
Contributor

Hey @phpsa any chance of getting this one in? :)

@phpsa
Copy link
Owner

phpsa commented Oct 8, 2024

Hey @phpsa any chance of getting this one in? :)

Looking at this today.

@phpsa
Copy link
Owner

phpsa commented Oct 10, 2024

this needs to deal with collections aswell, currently only deals with the singluar resource, and not a resource collection

@Cadienvan
Copy link
Contributor

What do you mean? Both qualifiers (collection and resource) have been modified. Also, respondWithResource is used in collections as well.

@phpsa phpsa merged commit 5476890 into phpsa:master Feb 10, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants