public __construct ( callable $function, array $args ) | ||
$function | callable | |
$args | array |
public function __construct(callable $function, array $args)
{
$this->function = $function;
$this->args = $args;
$this->generator = null;
}