예제 #1
0
 public function __construct(\Closure $callable, $arguments = [])
 {
     parent::__construct('execute callable function', []);
     $this->callable = $callable;
 }
예제 #2
0
 public function __construct(\Closure $callable, $arguments = array())
 {
     // TODO: add serialization to function http://www.htmlist.com/development/extending-php-5-3-closures-with-serialization-and-reflection/
     parent::__construct('execute callable function', array());
     $this->callable = $callable;
 }