2015-09-24 18:55 | Yii2 | yii2
1.
(new yiiwebApplication($config)) -> run();
2.
Yii::createObject($config) -> run(); 3