Skip to content

Commit

Permalink
Add setCustomView method to Menu class
Browse files Browse the repository at this point in the history
  • Loading branch information
salahhusa9 committed Mar 14, 2024
1 parent 7c34ecf commit e738cee
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,19 @@ public function customView()
return $this->customView;
}

/**
* setCustomView
*
* @param mixed $customView
* @return void
*/
public function setCustomView($customView)
{
$this->customView = $customView;

return $this;
}

/**
* Get the menu as JSON
*
Expand Down

0 comments on commit e738cee

Please sign in to comment.