摘要:
property = $value;`. * * 魔术方法,实现 setter * * @param string $name the property name or the event name * @param mixed $value the property value * @throws UnknownPropertyExc... 阅读全文
摘要:
系统的看一下model.php 阅读全文
摘要:
继续来看Event.php 阅读全文
摘要:
下面我们来看一下Event.php 阅读全文
摘要:
property)`. * * 重写 Object 中的 isset 方法,添加对 behaviors 的处理,循环 behaviors,如果其中有相应的属性,就认为有 * * @param string $name the property name or the event name * @return boolean whether the... 阅读全文
摘要:
接下来我们来了解Component.php 目录为:vendor/yiisoft/yii2/base/Component.php 为了对Component.php有个初级的认识,我先截取一段yii2.0手册上的注释。 组件(Component)与对象(Object) Yii 2.0 把 1.1 中的 阅读全文
摘要:
今天我们来看一下Model.php 目录:base/Model.php 阅读全文
摘要:
今天我们继续来挖Application.php 下面我们来看一下ArrayableTrait.php 阅读全文