for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace NukaCode\Menu;
use Illuminate\Support\Collection;
use NukaCode\Menu\Traits\Insertable;
use NukaCode\Menu\Traits\Linkable;
/**
* Class Menu
*
* @package NukaCode\Menu
*/
class Menu {
use Linkable;
use Insertable;
* Name of this menu
* @var string
public $name;
* Construct a menu
* @param $menuName
public function __construct($menuName = null)
{
$this->links = new Collection();
if (isset($menuName)) {
$this->name = $menuName;
}