4.2.29. Rename A Function¶
This cobbler renames a function from a name A to a name B.
4.2.29.1. Before¶
<?php
function foo() {}
foo();
?>
4.2.29.2. After¶
<?php
function bar() {}
bar();
?>
4.2.29.3. Parameters¶
Name |
Default |
Type |
Description |
origin |
string |
The function to rename |
|
destination |
string |
The destination’s function name |
4.2.29.4. Reverse Cobbler¶
4.2.29.5. Specs¶
Short Name |
Functions/RenameFunction |
Exakat version |
2.3.0 |
Available in |