You are here

public function MollieApiMock::__call in Commerce Mollie 8

Magic method that passes every _call to this same object.

Parameters

string $method: The method to be called.

mixed $args: The parameters.

File

tests/modules/commerce_mollie_tests/src/Services/MollieApiMock.php, line 49

Class

MollieApiMock
Mock class.

Namespace

Drupal\commerce_mollie_tests\Services

Code

public function __call($method, $args) {
  call_user_func_array([
    $this->mollieApiClient,
    $method,
  ], $args);
}