Browse Source

fix

tags/2.0.0-beta
Alexander Makarov 12 years ago
parent
commit
a5ab4aa22c
  1. 2
      docs/guide/upgrade-from-v1.md

2
docs/guide/upgrade-from-v1.md

@ -55,7 +55,7 @@ class MyClass extends \yii\Object
} }
} }
``` ```
~~~
In the above, the last parameter of the constructor must take a configuration array In the above, the last parameter of the constructor must take a configuration array
which contains name-value pairs for initializing the properties at the end of the constructor. which contains name-value pairs for initializing the properties at the end of the constructor.
You can override the `init()` method to do initialization work that should be done after You can override the `init()` method to do initialization work that should be done after

Loading…
Cancel
Save