Create a separate stub for Nova Policy classes #6850
-
protected function getStub()
{
return $this->resolveStubPath('/stubs/policy.stub');
} I would like to have a custom policy stub for Nova policies instead of reusing the one from the app—as they have different default methods and different purposes. BTW: thanks for this feature of having seprate Policy classes - it's really great on big projects! |
Beta Was this translation helpful? Give feedback.
Answered by
crynobone
May 20, 2025
Replies: 1 comment
-
Implemented in Nova 5.7.1 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
crynobone
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Implemented in Nova 5.7.1