[], 'join_with' => [], 'orderby' => 'pourcent ASC', 'attribute_id_producer' => '' ] ; } // getTaxRateArray public function getAsArray(): array { $taxRateArrayReturn = []; $taxRateArray = TaxRate::find()->all(); foreach($taxRateArray as $taxRate) { $taxRateArrayReturn[$taxRate->id] = $taxRate; } return $taxRateArrayReturn; } }