BBnepal-Accounts/vendor/phpunit/phpunit-mock-objects/tests/_fixture/MethodCallbackByReference.php

14 lines
197 B
PHP
Raw Normal View History

2024-07-10 12:43:19 +00:00
<?php
class MethodCallbackByReference
{
public function bar(&$a, &$b, $c)
{
Legacy::bar($a, $b, $c);
}
public function callback(&$a, &$b, $c)
{
$b = 1;
}
}