function LoggingDecoratorTrait::getInvocationArguments

Returns the arguments from every invocation of the main class method.

Return value

mixed[] The arguments from every invocation of the main class method.

1 call to LoggingDecoratorTrait::getInvocationArguments()
LoggingDecoratorTrait::saveInvocationArguments in core/modules/package_manager/tests/modules/package_manager_bypass/src/LoggingDecoratorTrait.php
Records the arguments from an invocation of the main class method.

File

core/modules/package_manager/tests/modules/package_manager_bypass/src/LoggingDecoratorTrait.php, line 31

Class

LoggingDecoratorTrait
Records information about method invocations.

Namespace

Drupal\package_manager_bypass

Code

public function getInvocationArguments() : array {
    return $this->state
        ->get(static::class . ' arguments', []);
}

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