阅读

Yii2启动方式区别

Yii2  2015-09-27 21:50

1.

(new yiiwebApplication($config)) -> run();

2.

Yii::createObject($config) -> run();
3