1. 14 May, 2017 1 commit
    • Jordan Lev's avatar
      Clarify documentations around protected closures. · 45d9113d
      Jordan Lev authored
      The docs state that "protected closures do not get access to the container", but this is somewhat misleading (it confused me for a quite some time). It's true that protected closures are not passed the container as a function argument, but they can access the container via `use ($app)`.
      45d9113d
  2. 09 May, 2017 4 commits
  3. 03 May, 2017 14 commits
  4. 02 May, 2017 2 commits
    • Fabien Potencier's avatar
      minor #1510 Fix AssetServiceProviderTest::testGenerateAssetUrl (skalpa) · 1b2f0394
      Fabien Potencier authored
      This PR was merged into the 2.1.x-dev branch.
      
      Discussion
      ----------
      
      Fix AssetServiceProviderTest::testGenerateAssetUrl
      
      The test broke when symfony/symfony#22528 got merged.
      
      I added one check without the starting slash (the returned path should be relative to `base_path`) and modified the expectation of the check with the starting slash (the returned path should not be relative).
      
      ```
      There was 1 failure:
      
      1) Silex\Tests\Provider\AssetServiceProviderTest::testGenerateAssetUrl
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'/whatever-makes-sense/foo.css?css2'
      +'/foo.css?css2'
      ```
      
      Commits
      -------
      
      ce8e41b5 Fix AssetServiceProviderTest::testGenerateAssetUrl
      1b2f0394
    • Pascal Luna's avatar
      ce8e41b5
  5. 30 Apr, 2017 3 commits
  6. 23 Apr, 2017 1 commit
  7. 14 Mar, 2017 2 commits
  8. 05 Mar, 2017 1 commit
    • Fabien Potencier's avatar
      minor #1461 Update the documentation (SpacePossum) · de9c57a9
      Fabien Potencier authored
      This PR was merged into the 2.1.x-dev branch.
      
      Discussion
      ----------
      
      Update the documentation
      
      Hi all!
      
      I've made a few minor changes to the docs ~to get those back into shape.
      However I could use help finishing the `routing.rst`, this describes the `RoutingServiceProvider`.
      The provider is powerful and awesome, but I struggle getting any good copy in there.
      So if you have time please help out :)~
      
      Commits
      -------
      
      75dcc3b9 Update documentation.
      de9c57a9
  9. 03 Mar, 2017 1 commit
  10. 19 Feb, 2017 1 commit
  11. 01 Feb, 2017 1 commit
  12. 21 Jan, 2017 1 commit
  13. 09 Jan, 2017 1 commit
  14. 08 Jan, 2017 1 commit
  15. 06 Jan, 2017 2 commits
  16. 02 Jan, 2017 2 commits
  17. 01 Jan, 2017 1 commit
  18. 06 Dec, 2016 1 commit