<?php
/*************************************************************************************/
/*      This file is part of the "Diaporamas" Thelia 2 module.                       */
/*                                                                                   */
/*      Copyright (c) OpenStudio                                                     */
/*      email : dev@thelia.net                                                       */
/*      web : http://www.thelia.net                                                  */
/*                                                                                   */
/*      For the full copyright and license information, please view the LICENSE.txt  */
/*      file that was distributed with this source code.                             */
/*************************************************************************************/

namespace ArtabanMarketplace\Form;

use ArtabanMarketplace\Form\Type\SellerIdType;
use ArtabanMarketplace\Form\Type\SellerImageIdType;
use Thelia\Form\Image\ImageModification;

/**
 * Class SellerImageUpdateForm
 * @package ArtabanMarketplace\Form
 */
class SellerImageUpdateForm extends ImageModification
{
    const FORM_NAME = "seller_image_update";

    public function getName()
    {
        return static::FORM_NAME;
    }

    public function buildForm()
    {
        parent::buildForm();
        $this->formBuilder
            ->add("id", SellerImageIdType::TYPE_NAME)
            ->add("seller_id", SellerIdType::TYPE_NAME)
        ;
    }
}
