<?php interface MyInterface { function bar(stdClass $arg); } class Foo implements MyInterface { function bar(stdClass $arg) { var_dump($arg); } } $foo = new Foo; $foo->bar(new DateTime());
You have javascript disabled. You will not be able to edit any code.