Gregwar\Formidable\Fields\FileField::push PHP Метод

push() публичный Метод

public push ( $var, $value = null )
    public function push($var, $value = null)
    {
        switch ($var) {
            case 'maxsize':
                $this->maxsize = $value;
                break;
            case 'filetype':
                $this->filetype = $value;
                break;
            default:
                parent::push($var, $value);
                break;
        }
    }