You are here

public function YamlEncoder::__construct in Content Synchronization 8.2

Same name and namespace in other branches
  1. 3.0.x src/Encoder/YamlEncoder.php \Drupal\content_sync\Encoder\YamlEncoder::__construct()

Constructor.

File

src/Encoder/YamlEncoder.php, line 30

Class

YamlEncoder
Class YamlEncoder.

Namespace

Drupal\content_sync\Encoder

Code

public function __construct(Yaml $yaml) {
  $this->yaml = $yaml;
}