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

remove references and examples with unsupported Symfony <5 #336

Merged
merged 1 commit into from
Feb 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ With [composer](https://getcomposer.org), require:
composer require knplabs/knp-snappy-bundle
```

Then enable it in your kernel (optional if you are using the Flex recipe with Symfony >= 4) :
If you are not using Flex, enable it in your kernel :

```php
// config/bundles.php
Expand All @@ -43,7 +43,7 @@ Configuration
If you need to change the binaries, change the instance options or even disable one or both services, you can do it through the configuration.

```yaml
# app/config/config.yml (or config/packages/knp_snappy.yaml if using Symfony4 and the Flex recipe)
# config/packages/knp_snappy.yaml
knp_snappy:
pdf:
enabled: true
Expand All @@ -58,15 +58,15 @@ knp_snappy:
If you want to change temporary folder which is ```sys_get_temp_dir()``` by default, you can use

```yaml
# app/config/config.yml (or config/packages/knp_snappy.yaml if using Symfony4 and the Flex recipe)
# config/packages/knp_snappy.yaml
knp_snappy:
temporary_folder: "%kernel.cache_dir%/snappy"
```

You can also configure the timeout used by the generators with `process_timeout`:

```yaml
# app/config/config.yml (or config/packages/knp_snappy.yaml if using Symfony4 and the Flex recipe)
# config/packages/knp_snappy.yaml
knp_snappy:
process_timeout: 20 # In seconds
```
Expand Down
Loading