public function clearFiles()
    {
        foreach ($this->files as $field => $files) {
            foreach ($files as $name => $upload) {
                $this->removeTmpFile($upload['tmp_name'] ?? '');
            }
        }

        $this->files = [];
    }
public function clearFiles()
    {
        foreach ($this->files as $field => $files) {
            foreach ($files as $name => $upload) {
                $this->removeTmpFile($upload['tmp_name'] ?? '');
            }
        }

        $this->files = [];
    }
public function clearFiles ( ) { foreach ( $ this -> files as $ field => $ files ) { foreach ( $ files as $ name => $ upload ) { $ this -> removeTmpFile ( $ upload [ 'tmp_name' ] ?? '' ) ; } } $ this -> files = [ ] ; }
Clear form flash from all uploaded files.
Clear form flash from all uploaded files .