$model = static::find()->all();
$model = self::find()->all();
经过我的测试 static调用的是子类中的方法 self调用的是本类中的方法
class B extends A {
public static function who() {
echo __CLASS__;
}
public static function test() {
self::who();
static::who();
}