Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resetting options #241

cdarken opened this issue May 16, 2017 · 1 comment


Copy link

commented May 16, 2017

Is there any way to reset all or some options to defaults? For instance if you generate more than one PDF in one call.

@NiR- NiR- added the Feature label Jun 14, 2017


This comment has been minimized.

Copy link

commented Jun 14, 2017

Nope, not currently. You need to rely on something like that:

$options = $generator->getOptions();
    array_combine(array_keys($options), array_fill(0, count($options), null)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.