__construct()
__construct(string $token, array $config = array())
Creates a form model given a token.
Parameters
| string |
$token |
|
| array |
$config |
name-value pairs that will be used to initialize the object properties |
Throws
- \yii\base\InvalidParamException
if token is empty or not valid