Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Added setting constant for throwing exceptions (TCPDF) instead of a d…
Browse files Browse the repository at this point in the history
…ie (#52)

* Added a config setting for throwing an exception instead of a die in the TCPDF bundle
  • Loading branch information
kaspervrind authored and Sam Partington committed Oct 15, 2018
1 parent 2299695 commit c07470e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ protected function addTCPDFConfig(ArrayNodeDefinition $rootNode)
->scalarNode('k_thai_topchars')->defaultTrue()->end()
->scalarNode('k_tcpdf_calls_in_html')->defaultFalse()->end()
->scalarNode('k_tcpdf_external_config')->defaultTrue()->end()
->scalarNode('k_tcpdf_throw_exception_error')->defaultTrue()->end()

// Optional nice-to-have values
->scalarNode('head_magnification')->defaultValue(1.1)->end()
Expand Down

0 comments on commit c07470e

Please sign in to comment.