html2pdf
This commit is contained in:
21
html2pdf-master/vendor/phpunit/phpunit-mock-objects/tests/_fixture/MethodCallback.php
vendored
Normal file
21
html2pdf-master/vendor/phpunit/phpunit-mock-objects/tests/_fixture/MethodCallback.php
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
<?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';
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user