can i do this
class User extends ActiveRecord
{
public function __construct($userId, $config=[] )
{
...
...
parent::__construct($config);
}
}
at this time i got error message
"Missing argument 1 for common\models\User::__construct()"