MenuItem final readonly class
Minn\Content\MenuItem · public/minn/src/Minn/Content/MenuItem.php · 22 lines
One classic nav_menu_item, fields resolved from the post, its `_menu_item_*` meta, and the object it points at.
Used by 2
Constants and properties
| prop | readonly int $id | Promoted from the constructor. |
| prop | readonly string $title | Promoted from the constructor. |
| prop | readonly string $url | Promoted from the constructor. |
| prop | readonly string $type | Promoted from the constructor. |
| prop | readonly string $object | Promoted from the constructor. |
| prop | readonly int $objectId | Promoted from the constructor. |
| prop | readonly int $parent | Promoted from the constructor. |
| prop | readonly int $menuOrder | Promoted from the constructor. |
| prop | readonly string $target | Promoted from the constructor. |
| prop | readonly array $classes | Promoted from the constructor. |
| prop | readonly array $xfn | Promoted from the constructor. |
| prop | readonly string $attrTitle | Promoted from the constructor. |
| prop | readonly string $description | Promoted from the constructor. |
| prop | readonly string $status | Promoted from the constructor. |
| prop | readonly int $menuId | Promoted from the constructor. |
| prop | readonly bool $invalid | Promoted from the constructor. |
Public
| new | __construct(int $id, string $title, string $url, string $type, string $object, int $objectId, int $parent, int $menuOrder, string $target, array $classes, array $xfn, string $attrTitle, string $description, string $status, int $menuId, bool $invalid)# |
Nothing matches.