Exemple #1
0
 public function getProducts()
 {
     return $this->hasMany(StockToProduct::className(), ['stock_id' => 'id']);
 }