<?php

namespace Bixo\CrossTrade\Forms;

use Litepie\Form\FormInterpreter;

class OrderVehicle extends FormInterpreter
{

    /**
     * Sets the form and form elements.
     * @return null.
     */
    public static function setAttributes()
    {

        self::$urls = config('bixo.cross_trade.order_vehicle.urls');

        self::$search = config('bixo.cross_trade.order_vehicle.search');

        self::$orderBy = config('bixo.cross_trade.order_vehicle.order');

        self::$groups =  config('bixo.cross_trade.order_vehicle.groups');

        self::$list =  config('bixo.cross_trade.order_vehicle.list');

        self::$fields = config('bixo.cross_trade.order_vehicle.form');

        return new static();
    }
}