Ejemplo n.º 1
0
 public function testRegisterDuplicateMethod()
 {
     $app = new App();
     $app->foo(function () {
         return 'foo';
     });
     $app->foo(function () {
         return 'foo2';
     });
 }