view vendor/phpunit/phpunit-mock-objects/tests/_fixture/MethodCallback.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 1fec387a4317
children
line wrap: on
line source
<?php
class MethodCallback
{
    public static function staticCallback()
    {
        $args = func_get_args();

        if ($args == ['foo', 'bar']) {
            return 'pass';
        }
    }

    public function nonStaticCallback()
    {
        $args = func_get_args();

        if ($args == ['foo', 'bar']) {
            return 'pass';
        }
    }
}