function StageFixtureManipulator::commitChanges
Same name and namespace in other branches
- main core/modules/package_manager/tests/modules/fixture_manipulator/src/StageFixtureManipulator.php \Drupal\fixture_manipulator\StageFixtureManipulator::commitChanges()
Commits the changes to the directory.
Parameters
string $dir: The directory to commit the changes to.
Overrides FixtureManipulator::commitChanges
File
-
core/
modules/ package_manager/ tests/ modules/ fixture_manipulator/ src/ StageFixtureManipulator.php, line 64
Class
- StageFixtureManipulator
- A fixture manipulator service that commits changes after begin.
Namespace
Drupal\fixture_manipulatorCode
public function commitChanges(string $dir, bool $validate_composer = FALSE) : self {
throw new \BadMethodCallException('::commitChanges() should not be called directly in StageFixtureManipulator().');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.