view vendor/phpunit/phpunit-mock-objects/tests/_fixture/MethodCallbackByReference.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 4c8ae668cc8c
children
line wrap: on
line source
<?php
class MethodCallbackByReference
{
    public function bar(&$a, &$b, $c)
    {
        Legacy::bar($a, $b, $c);
    }

    public function callback(&$a, &$b, $c)
    {
        $b = 1;
    }
}