You are here

public function SerializationTestEncoder::supportsEncoding in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php \Drupal\serialization_test\SerializationTestEncoder::supportsEncoding()

File

core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php, line 27

Class

SerializationTestEncoder

Namespace

Drupal\serialization_test

Code

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