We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This fails, because addChild() return void
public function addChild(MenuItemInterface $child): void { $child->setParent($this); $this->children[] = $child; }
$blog->addChild( new MenuItemModel('ChildOneItemId', 'ChildOneDisplayName', 'child_1_route', [], 'fas fa-rss-square') )->addChild( new MenuItemModel('ChildTwoItemId', 'ChildTwoDisplayName', 'child_2_route') );
https://github.com/kevinpapst/TablerBundle/blob/main/docs/menu.md
Obviously, the docs could be fixed, but I'd prefer that the addChild was fluent.
The text was updated successfully, but these errors were encountered:
17f7628
Thanks for pointing out 👍
Sorry, something went wrong.
No branches or pull requests
This fails, because addChild() return void
https://github.com/kevinpapst/TablerBundle/blob/main/docs/menu.md
Obviously, the docs could be fixed, but I'd prefer that the addChild was fluent.
The text was updated successfully, but these errors were encountered: