Skip to content

Commit c96fa92

Browse files
committed
Remove the various ways to set a callable
1 parent 9403d54 commit c96fa92

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

reference/funchand/functions/register-tick-function.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,8 @@ function my_function($param) {
6464
echo "Tick callback function called with param: $param\n";
6565
}
6666
67-
// Class with a method
68-
class my_class {
69-
public function my_method($param) {
70-
echo "Tick callback method called with param: $param\n";
71-
}
72-
}
73-
7467
// using a function as the callback
7568
register_tick_function('my_function', true);
76-
77-
// using an object->method
78-
$object = new my_class();
79-
register_tick_function(array($object, 'my_method'), true);
8069
?>
8170
]]>
8271
</programlisting>

0 commit comments

Comments
 (0)