you can see

~~~php
where(array('parent' => $names, 'name' => new \yii\db\Expression('child'))
~~~