/** * @param mixed|null $id * @param \Codex\Codex\Menus\Menu $menu * @param null $value * @param array $children */ public function __construct($id, Menu $menu, $value = null, array $children = []) { parent::__construct($value, $children); $this->id = $id; $this->menu = $menu; $this->meta = []; $this->attributes = ['href' => '#']; }