<?php

namespace FiloBlu\Rma\Block\Adminhtml\Form\Field;

use Magento\Framework\View\Element\Html\Select;
use Magento\Framework\View\Element\Context;

/**
 *
 */
class CustomerGroupPolicyColumn extends Select
{
    /**
     * @param $value
     * @return mixed
     */
    public function setInputName($value)
    {
        return $this->setName($value . '[]');
    }

    /**
     * Render HTML
     *
     * @return string
     *
     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
     * @SuppressWarnings(PHPMD.NPathComplexity)
     */
    protected function _toHtml()
    {
        $this->setExtraParams('multiple="multiple"');
        return parent::_toHtml(); // TODO: Change the autogenerated stub
    }
}
