Example #1
0
 public function testCall()
 {
     $props = new Props();
     $props->callme = function ($a, $b) {
         //dump($this);
         return $a + $b;
     };
     $this->assertEquals(5, $props->callme(2, 3));
 }