How to override shallowAugmentedArrayKeys on a Term #5242
Unanswered
hitfactory
asked this question in
Q&A
Replies: 2 comments
-
I don't think this will work but it's worth a try I guess.. Instead of extending & binding to Basically, the |
Beta Was this translation helpful? Give feedback.
0 replies
-
I had tried extending CustomTerm like so and binding to the same interface
But then I get the following error
So perhaps it's not possible yet? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This kind of approach which works for Assets doesn't work for Terms.
$this->app->bind( \Statamic\Contracts\Taxonomies\Term::class, CustomTerm::class );
Beta Was this translation helpful? Give feedback.
All reactions