mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-18 17:21:26 +08:00
doc fix
This commit is contained in:
@ -324,7 +324,7 @@ class BaseYii
|
||||
* Below are some usage examples:
|
||||
*
|
||||
* ~~~
|
||||
* $object = \Yii::createObject('@app/components/GoogleMap');
|
||||
* $object = \Yii::createObject('app\components\GoogleMap');
|
||||
* $object = \Yii::createObject([
|
||||
* 'class' => 'app\components\GoogleMap',
|
||||
* 'apiKey' => 'xyz',
|
||||
|
Reference in New Issue
Block a user