Created
September 2, 2010 10:18
-
-
Save fprochazka/562122 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class CallbackBody extends Callback | |
{ | |
public function __construct($paramList, $code, $param1 = null, $param2 = null, $param3 = null) | |
{ | |
$params = func_get_args(); | |
$params = array_slice($params, 2); | |
$this->callback = create_function($paramList, $code); | |
$this->params = $params; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment