view vendor/phpunit/phpunit-mock-objects/tests/_fixture/MethodCallbackByReference.php @ 9:1fc0ff908d1f

Add another data file
author Chris Cannam
date Mon, 05 Feb 2018 12:34:32 +0000
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;
    }
}