You are here

public function StreamEncoder::supportsDecoding in Replication 8

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

File

src/Encoder/StreamEncoder.php, line 63

Class

StreamEncoder

Namespace

Drupal\replication\Encoder

Code

public function supportsDecoding($format) {
  return in_array($format, $this->formats);
}