]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/PHPUnit/Tests/_files/MethodCallback.php
Added unit tests.
[Github/sugarcrm.git] / tests / PHPUnit / Tests / _files / MethodCallback.php
1 <?php
2 class MethodCallback
3 {
4     public static function staticCallback()
5     {
6         $args = func_get_args();
7
8         if ($args == array('foo', 'bar')) {
9             return 'pass';
10         }
11     }
12
13     public function nonStaticCallback()
14     {
15         $args = func_get_args();
16
17         if ($args == array('foo', 'bar')) {
18             return 'pass';
19         }
20     }
21 }
22 ?>