You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
526 B
38 lines
526 B
<?php
|
|
|
|
|
|
//菜单管理
|
|
class Menu
|
|
{
|
|
private $name;
|
|
private $interface;
|
|
|
|
/**
|
|
* Menu constructor.
|
|
* @param $name
|
|
* @param $interface
|
|
*/
|
|
public function __construct($name, $interface)
|
|
{
|
|
$this->name = $name;
|
|
$this->interface = $interface;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getName()
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getInterface()
|
|
{
|
|
return $this->interface;
|
|
}
|
|
|
|
|
|
} |