• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Rareloop / router / 10
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v6.0.0
DEFAULT BRANCH: master
Ran 22 Jul 2017 02:25PM UTC
Jobs 2
Files 13
Run time 57s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
10

push

travis-ci

joelambert
Add dependency injection for params & Type Hints

You can now pass an optional container param to the `Router` constructor. The container must conform to PSR 11, allowing us to work with a range of DI containers.

Internally we use the `PHP-DI/Invoker` package to provide us with a generic `call()` function that makes it simple to resolve dependencies for classes and methods for any PSR 11 compatible container.

If you don’t provide a container in the constructor, the Router falls back to the previous behaviour and will pass a `RouteParams` to the closure/controller.

132 of 132 relevant lines covered (100.0%)

46.71 hits per line

Jobs
ID Job ID Ran Files Coverage
2 10.2 (COMPOSER_FLAGS="") 22 Jul 2017 02:25PM UTC 0
100.0
Travis Job 10.2
4 10.4 (COMPOSER_FLAGS="") 22 Jul 2017 02:26PM UTC 0
100.0
Travis Job 10.4
Source Files on build 10
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #10
  • 7a631de2 on github
  • Next Build on di (#11)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc