You are here

public function CsvEncoder::supportsEncoding in CSV Serialization 8

Same name and namespace in other branches
  1. 8.2 src/Encoder/CsvEncoder.php \Drupal\csv_serialization\Encoder\CsvEncoder::supportsEncoding()

File

src/Encoder/CsvEncoder.php, line 103

Class

CsvEncoder
Adds CSV encoder support for the Serialization API.

Namespace

Drupal\csv_serialization\Encoder

Code

public function supportsEncoding($format) {
  return $format == static::$format;
}