protected function hydrateFiles(array $value)
    {
        if (empty($value)) {
            return [[$this->column => $this->getRules()], []];
        }

        $rules = $input = [];

        foreach ($value as $key => $file) {
            $rules[$this->column.$key] = $this->getRules();
            $input[$this->column.$key] = $file;
        }

        return [$rules, $input];
    }
protected function hydrateFiles(array $value)
    {
        if (empty($value)) {
            return [[$this->column => $this->getRules()], []];
        }

        $rules = $input = [];

        foreach ($value as $key => $file) {
            $rules[$this->column.$key] = $this->getRules();
            $input[$this->column.$key] = $file;
        }

        return [$rules, $input];
    }
protected function hydrateFiles ( array $ value ) { if ( empty ( $ value ) ) { return [ [ $ this -> column => $ this -> getRules ( ) ] , [ ] ] ; } $ rules = $ input = [ ] ; foreach ( $ value as $ key => $ file ) { $ rules [ $ this -> column . $ key ] = $ this -> getRules ( ) ; $ input [ $ this -> column . $ key ] = $ file ; } return [ $ rules , $ input ] ; }
Hydrate the files array.

@param array $value

@return array
Hydrate the files array .