类的常量属性和方法
1、常量
2、属性
3、方法
<?php
namespace Vendor\Model;
class Foo
{
const VERSION = '1.0';
const DATE_APPROVED = '2012-06-01';
static $userName;
private $userName;
protect $userName;
public static function getUserInfo()
{
}
}Last updated
Was this helpful?