Mercurial > hg > isophonics-drupal-site
view vendor/phpunit/phpunit-mock-objects/src/Generator/mocked_method_void.tpl.dist @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children |
line wrap: on
line source
{modifier} function {reference}{method_name}({arguments_decl}){return_delim}{return_type} {{deprecation} $arguments = array({arguments_call}); $count = func_num_args(); if ($count > {arguments_count}) { $_arguments = func_get_args(); for ($i = {arguments_count}; $i < $count; $i++) { $arguments[] = $_arguments[$i]; } } $this->__phpunit_getInvocationMocker()->invoke( new \PHPUnit\Framework\MockObject\Invocation\ObjectInvocation( '{class_name}', '{method_name}', $arguments, '{return_type}', $this, {clone_arguments} ) ); }