1. 16 Oct, 2013 3 commits
    • Romain Neutron's avatar
      Fix changelog entry · 885870e6
      Romain Neutron authored
      885870e6
    • Fabien Potencier's avatar
      feature #800 Converters as service (romainneutron) · 029bca4f
      Fabien Potencier authored
      This PR was squashed before being merged into the master branch (closes #800).
      
      Discussion
      ----------
      
      Converters as service
      
      This PR decouples the callback resolution service from `ServiceControllerResolver` in `CallbackResolver` so it can be used to resolve converter callback declared a service callbacks :
      
      ```php
      $app->get('/user/{user}', function (User $user) {
          // ...
      })->convert('user', 'service:method');
      ```
      
      Commits
      -------
      
      0cdef8e5 Converters as service
      029bca4f
    • Romain Neutron's avatar
      Converters as service · 0cdef8e5
      Romain Neutron authored
      0cdef8e5
  2. 14 Oct, 2013 1 commit
  3. 13 Oct, 2013 1 commit
  4. 12 Oct, 2013 4 commits
    • Fabien Potencier's avatar
      feature #804 added a way to delay the attachment of a controller to a route (fabpot) · 2b966973
      Fabien Potencier authored
      This PR was merged into the master branch.
      
      Discussion
      ----------
      
      added a way to delay the attachment of a controller to a route
      
      There are several ideas behind this PR. It's mostly about consistency by being able to decouple the setting of a controller from the match call. The old way still works of course.
      
      It is more consistent as everything can now be done via method calls and the fact that the controller is the second argument makes things uglier, especially when the code in the controller is large.
      
      As an added bonus, it helps when indenting the code (currently, I always wonder how to indent my code as it's not obvious). Last, but not the least, being able to put the code last also makes things more readable.
      
      Current:
      
      ```
      $app->get('/foo', function ($id) {
          // ...
      })
      ->bind('home')
      ->assert('id', '\d+')
      ;
      ```
      
      Now:
      
      ```
      $app
          ->get('/foo')
          ->bind('home')
          ->assert('id', '\d+')
          ->run(function ($id) {
              // ...
          })
      ;
      ```
      
      Commits
      -------
      
      8fbb9369 added a way to delay the attachment of a controller to a route
      2b966973
    • Fabien Potencier's avatar
    • Fabien Potencier's avatar
      removed obsolete check in a test · 7134febb
      Fabien Potencier authored
      7134febb
    • Fabien Potencier's avatar
      fixed CS · d1fcf09c
      Fabien Potencier authored
      d1fcf09c
  5. 11 Oct, 2013 12 commits
  6. 09 Oct, 2013 2 commits
  7. 07 Oct, 2013 1 commit
  8. 01 Oct, 2013 3 commits
  9. 27 Sep, 2013 2 commits
  10. 23 Sep, 2013 2 commits
    • Fabien Potencier's avatar
      merged branch project-a/master (PR #791) · b4bb327c
      Fabien Potencier authored
      This PR was merged into the master branch.
      
      Discussion
      ----------
      
      Change deprecated functions and remove unused imports
      
      I changed the deprecated translation function setFallbackLocale() and the debug Exception- and Error-Handler.
      Therefore i added symfony/debug to composer.json.
      
      I also removed unused imports and fixed some classnames in docblock comments.
      
      Commits
      -------
      
      d214e2e0 Test for TranslationServiceProvider
      67c7e3fe Handle locale_fallback
      380792b9 Also update doc for translation changes
      60baeadc Remove unused imports and fix docblock for exceptions
      69756f95 Use new debug component
      92d4f0f1 Remove usage of deprecated function setFallbackLocale
      b4bb327c
    • Fabien Potencier's avatar
      merged branch sylvaincombes/patch-1 (PR #781) · 5e957d33
      Fabien Potencier authored
      This PR was merged into the master branch.
      
      Discussion
      ----------
      
      Bad doc link : correction of the link to the documentation
      
      The link to the doc was wrong (404), fixed.
      
      Commits
      -------
      
      8898de0e Bad doc link : correction of the link to the documentation
      5e957d33
  11. 20 Sep, 2013 1 commit
  12. 16 Sep, 2013 5 commits
  13. 15 Sep, 2013 1 commit
  14. 14 Sep, 2013 1 commit
  15. 12 Sep, 2013 1 commit