From b69bb5c9d308eabb777fbb59269f7c8102ecda55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Duli=C3=A7i?= Date: Wed, 25 Oct 2023 15:43:24 +0300 Subject: [PATCH] make fillable attributes public --- src/MenuItem.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/MenuItem.php b/src/MenuItem.php index 470d501..e5ae2e8 100644 --- a/src/MenuItem.php +++ b/src/MenuItem.php @@ -47,59 +47,59 @@ class MenuItem implements Arrayable /** * @var string */ - protected $url; + public $url; /** * @var string */ - protected $route; + public $route; /** * @var string */ - protected $fragment; + public $fragment; /** * @var string */ - protected $title; + public $title; /** * @var string */ - protected $name; + public $name; /** * @var string */ - protected $icon; + public $icon; /** * @var int */ - protected $parent; + public $parent; /** * @var array */ - protected $attributes; + public $attributes; /** * @var bool */ - protected $active; + public $active; /** * @var int */ - protected $order; + public $order; /** * The hideWhen callback. * * @var Closure */ - protected $hideWhen; + public $hideWhen; /** * Constructor.