public function setAllowOrders(array $orders = []): void
    {
        $this->allowOrders = [];
        foreach ($orders as $column) {
            $this->addAllowOrder($column);
        }
    }
public function setAllowOrders(array $orders = []): void
    {
        $this->allowOrders = [];
        foreach ($orders as $column) {
            $this->addAllowOrder($column);
        }
    }
public function setAllowOrders ( array $ orders = [ ] ) : void { $ this -> allowOrders = [ ] ; foreach ( $ orders as $ column ) { $ this -> addAllowOrder ( $ column ) ; } }
Set allow orders

@param  string[] $orders

@return void
Set allow orders