izzum\command\Closure::__construct PHP Method

__construct() public method

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