Skip to content

Commit

Permalink
Merge pull request #1276 from BlueSkunka/patch-2
Browse files Browse the repository at this point in the history
Update documentation for Symfony 5.x
  • Loading branch information
dbu authored Jun 25, 2020
2 parents f4df7c0 + c9aa162 commit 54706b3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Resources/doc/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,22 @@ to the bundles array of the ``registerBundles`` method in your project's
// ...
}
If you are using Symfony 5.x, enable the bundle by adding ``new Liip\ImagineBundle\LiipImagineBundle()``
to the bundles array of the ``return`` method in your project's
``config/bundles.php`` file:

.. code-block:: php
<?php
return [
// ...
Liip\ImagineBundle\LiipImagineBundle::class => ['all' => true]
];
Step 3: Register the bundle's routes
------------------------------------
Expand Down

0 comments on commit 54706b3

Please sign in to comment.