摘要:
* @since 2.0 */ interface ManagerInterface extends CheckAccessInterface { /** * Creates a new Role object. * Note that the newly created role is not added to the RBAC system yet. ... 阅读全文
木子炜培先生⑴2017底=>(年薪15万)=>31岁 ⑵2018=》(生产生活用品)并且年薪20万=>32岁 ⑶2019=>年薪30万=>把小作坊升级为工厂=>33岁 ⑷2020=>再开一个食品工厂 |
摘要:
* @since 2.0 */ interface ManagerInterface extends CheckAccessInterface { /** * Creates a new Role object. * Note that the newly created role is not added to the RBAC system yet. ... 阅读全文
摘要:
protected function addItem($item) { $time = time(); if ($item->createdAt === null) { $item->createdAt = $time; } if ($item->updatedAt === null) { ... 阅读全文
摘要:
/** * @inheritdoc */ public function add($object) { if ($object instanceof Item) { //①如果是role或permission对象就创建auth_rule if ($object->ruleName && $this->getRu... 阅读全文
摘要:
判断是否是classMap还是命名空间的 然后 转换成 绝对路径 include 文件 public static function autoload($className) { //classMap 一般都是类库 官方 或者自定义类映射 if (isset(static::$classMap[$className])) { ... 阅读全文
摘要:
class Person{ // 构造 constructor(x,y){ this.x = x; this.y = y; } toString(){ return (this.x + "的年龄是" +this.y+"岁"); } } export {Per... 阅读全文
|