function FixtureManipulator::queueManipulation

Queues manipulation arguments to be called in ::doCommitChanges().

Parameters

string $method: The method name.

array $arguments: The arguments.

8 calls to FixtureManipulator::queueManipulation()
FixtureManipulator::addConfig in core/modules/package_manager/tests/modules/fixture_manipulator/src/FixtureManipulator.php
Modifies the project root's composer.json properties.
FixtureManipulator::addDotGitFolder in core/modules/package_manager/tests/modules/fixture_manipulator/src/FixtureManipulator.php
Creates an empty .git folder after being provided a path.
FixtureManipulator::addPackage in core/modules/package_manager/tests/modules/fixture_manipulator/src/FixtureManipulator.php
Adds a package.
FixtureManipulator::addProjectAtPath in core/modules/package_manager/tests/modules/fixture_manipulator/src/FixtureManipulator.php
Adds a project at a path.
FixtureManipulator::modifyPackageConfig in core/modules/package_manager/tests/modules/fixture_manipulator/src/FixtureManipulator.php
Modifies a package's composer.json properties.

... See full list

1 method overrides FixtureManipulator::queueManipulation()
StageFixtureManipulator::queueManipulation in core/modules/package_manager/tests/modules/fixture_manipulator/src/StageFixtureManipulator.php
Queues manipulation arguments to be called in ::doCommitChanges().

File

core/modules/package_manager/tests/modules/fixture_manipulator/src/FixtureManipulator.php, line 410

Class

FixtureManipulator
Manipulates a test fixture using Composer commands.

Namespace

Drupal\fixture_manipulator

Code

protected function queueManipulation(string $method, array $arguments) : void {
    $this->manipulatorArguments[$method][] = $arguments;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.