Exemple #1
0
 public function pets()
 {
     return $this->andWhere([Breed::tableName() . '.common_status_id' => CommonStatus::ACTIVE])->joinWith("broods.pets", true, 'INNER JOIN');
 }