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

zendframework / zend-mvc / 372
36%

Build:
DEFAULT BRANCH: master
Ran 23 Jun 2016 05:14PM UTC
Jobs 1
Files 79
Run time 5s
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
372

Pull #165

travis-ci

web-flow
New LazyControllerFactory

Inspired by http://circlical.com/blog/2016/3/9/preparing-for-zend-f,
this abstract factory/factory can be used to create controller
instances for controllers defining constructor dependencies, using
the following rules:

- A parameter named `$config` typehinted as an array will receive the
  application "config" service (i.e., the merged configuration).
- Parameters type-hinted against array, but not named `$config` will
  be injected with an empty array.
- Scalar parameters will be resolved as null values.
- If a service cannot be found for a given typehint, the factory will
  raise an exception detailing this.
- Some services provided by Zend Framework components do not have
  entries based on their class name (for historical reasons); the
  factory contains a map of these class/interface names to the
  corresponding service name to allow them to resolve.

`$options` passed to the factory are ignored in all cases, as we cannot
make assumptions about which argument(s) they might replace.

As it implements zend-servicemanager's v3 AbstractFactoryInterface, it
may be used as either an abstract factory, or by mapping controller
class names to the factory.
Pull Request #165: New LazyControllerFactory

1550 of 1865 relevant lines covered (83.11%)

10.79 hits per line

Jobs
ID Job ID Ran Files Coverage
2 372.2 (DEPS=locked TEST_COVERAGE=true DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)" PATH="$HOME/.local/bin:$PATH") 23 Jun 2016 05:14PM UTC 0
83.11
Travis Job 372.2
Source Files on build 372
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #372
  • Pull Request #165
  • PR Base - master (#354)
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

© 2026 Coveralls, Inc