You are here

public function ConfigPatch::invert in Configuration Split 2.0.x

Invert the patch.

Return value

self A new patch object with inverted components.

File

src/Config/ConfigPatch.php, line 82

Class

ConfigPatch
The config patch value object.

Namespace

Drupal\config_split\Config

Code

public function invert() : self {
  return new self($this->removed, $this->added);
}