public function testFind() { $this->assertContains('Иванов', Domain::find()->notStrict()->where(['name_rus' => 'Иванов'])->one()->person_r); }
/** * @return Domain[] * @throws Exception */ public function domains() { if (empty($this->nic_hdl)) { return []; } return Domain::find()->where(['admin-o' => $this->nic_hdl])->all(); }