You are here

public function CsvEncoder::supportsDecoding in CSV Serialization 8

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

File

src/Encoder/CsvEncoder.php, line 110

Class

CsvEncoder
Adds CSV encoder support for the Serialization API.

Namespace

Drupal\csv_serialization\Encoder

Code

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