You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if I could use something like Expect::schemaFactory([$this, 'getItemSchema']) so function getItemSchema() could be called recursively as long as submenu's are present.
It would be nice if I could get Processor in CompilerExtension so I don't need to create one when I have custom config.
The text was updated successfully, but these errors were encountered:
I'm trying to solve recursive schema validation in menu library when you have tree structure of menu (submenu items).
Here's what I did as temporary solution:
Full file is here
Expect::schemaFactory([$this, 'getItemSchema'])
so functiongetItemSchema()
could be called recursively as long as submenu's are present.Processor
inCompilerExtension
so I don't need to create one when I have custom config.The text was updated successfully, but these errors were encountered: