['email', 'required'], | ['email', 'required'], | ||||
['email', 'email'], | ['email', 'email'], | ||||
['email', 'exist', | ['email', 'exist', | ||||
'targetClass' => '\logic\User\User\User', | |||||
'targetClass' => 'domain\User\User\User', | |||||
'message' => 'There is no user with such email.' | 'message' => 'There is no user with such email.' | ||||
], | ], | ||||
]; | ]; |
public $password; | public $password; | ||||
/** | /** | ||||
* @var \logic\User\User\User | |||||
* @var domain\User\User\User | |||||
*/ | */ | ||||
private $_user; | private $_user; | ||||
*/ | */ | ||||
class UserFixture extends ActiveFixture | class UserFixture extends ActiveFixture | ||||
{ | { | ||||
public $modelClass = 'logic\User\User\User'; | |||||
public $modelClass = 'domain\User\User\User'; | |||||
} | } |