You are here

public function StreamEncoder::supportsEncoding in Replication 8.2

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

File

src/Encoder/StreamEncoder.php, line 56

Class

StreamEncoder

Namespace

Drupal\replication\Encoder

Code

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