You are here

public function CsvParser::__destruct in Feeds 8.3

Destructs a CsvParser object.

File

src/Component/CsvParser.php, line 122

Class

CsvParser
Parses an RFC 4180 style CSV file.

Namespace

Drupal\feeds\Component

Code

public function __destruct() {
  if (is_resource($this->handle)) {
    fclose($this->handle);
  }
}