Gregwar\Formidable\Fields\FileField::setValue PHP Method

setValue() public method

public setValue ( $value, $default = false )
    public function setValue($value, $default = false)
    {
        if (!is_array($value)) {
            return;
        }
        $this->datas = $value;
    }