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

wikimedia / mediawiki-extensions-SemanticMediaWiki / 170 / 2
28%
master: 28%

Build:
DEFAULT BRANCH: master
Ran 26 Aug 2013 02:00AM UTC
Files 207
Run time –
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

26 Aug 2013 01:59AM UTC coverage: 17.183% (+0.2%) from 17.023%
DBTYPE=mysql

push

travis-ci

mwjames
[DIC]: Support SCOPE_SINGLETON

Most DI frameworks allow to specify if an object is to be instantiated
as prototype or singleton.

* Prototypical scope (default) where each new injection returns a
new instance
* Singleton scope (well symfony calls it container scope) will return
the same instance for lifetime of a request

## Example
$this->registerObject( 'Foo', function ( return new Foo() ) { ... } )
If not declared otherwise, all objects are create with SCOPE_PROTOTYPE.

$this->registerObject( 'Foo', function ( return new Foo() ) { ... },
  DependencyObject::SCOPE_SINGLETON
)

$this->registerObject( 'Foo', new Foo(),
  DependencyObject::SCOPE_SINGLETON
)

Change-Id: I918b93511

2520 of 14666 relevant lines covered (17.18%)

1.47 hits per line

Source Files on job 170.2 (DBTYPE=mysql)
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 170
  • Travis Job 170.2
  • 1e2c8d5c on github
  • Prev Job for DBTYPE=mysql on master (#169.1)
  • Next Job for DBTYPE=mysql on master (#171.1)
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