public __construct ( |
||
$closure | ||
$arguments | mixed[] | an optional array of arguments to pass to the closure |
public function __construct(\Closure $closure, $arguments = array())
{
$this->closure = $closure;
$this->arguments = $arguments;
}