function LoggingDecoratorTrait::saveInvocationArguments
Records the arguments from an invocation of the main class method.
Parameters
mixed ...$arguments: The arguments that the main class method was called with.
3 calls to LoggingDecoratorTrait::saveInvocationArguments()
- LoggingBeginner::begin in core/
modules/ package_manager/ tests/ modules/ package_manager_bypass/ src/ LoggingBeginner.php - LoggingCommitter::commit in core/
modules/ package_manager/ tests/ modules/ package_manager_bypass/ src/ LoggingCommitter.php - NoOpStager::stage in core/
modules/ package_manager/ tests/ modules/ package_manager_bypass/ src/ NoOpStager.php
File
-
core/
modules/ package_manager/ tests/ modules/ package_manager_bypass/ src/ LoggingDecoratorTrait.php, line 41
Class
- LoggingDecoratorTrait
- Records information about method invocations.
Namespace
Drupal\package_manager_bypassCode
private function saveInvocationArguments(...$arguments) : void {
$invocations = $this->getInvocationArguments();
$invocations[] = $arguments;
$this->state
->set(static::class . ' arguments', $invocations);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.