1. 30 Oct, 2013 2 commits
    • Fabien Potencier's avatar
      Merge branch '1.1' · 87e0a836
      Fabien Potencier authored
      * 1.1:
        Event helpers add listeners directly after boot
        fix docblock
        Update intro.rst - Included links to Symfony2, Pimple and Sinatra
        typo fixed in doc/providers.rst
      87e0a836
    • Fabien Potencier's avatar
      Merge branch '1.0' into 1.1 · c2d0d2ca
      Fabien Potencier authored
      * 1.0:
        fix docblock
        Update intro.rst - Included links to Symfony2, Pimple and Sinatra
        typo fixed in doc/providers.rst
      c2d0d2ca
  2. 29 Oct, 2013 1 commit
  3. 28 Oct, 2013 2 commits
  4. 26 Oct, 2013 4 commits
  5. 19 Oct, 2013 1 commit
  6. 16 Oct, 2013 4 commits
  7. 14 Oct, 2013 1 commit
  8. 13 Oct, 2013 1 commit
  9. 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
  10. 11 Oct, 2013 12 commits
  11. 09 Oct, 2013 2 commits
  12. 07 Oct, 2013 1 commit
  13. 01 Oct, 2013 3 commits
  14. 27 Sep, 2013 2 commits