/** * @return array */ public function testScopeProvider() { return [[Scope::singleton(), Scope::singleton(), true, true], [Scope::singleton(), Scope::prototype(), true, true], [Scope::prototype(), Scope::singleton(), false, true], [Scope::prototype(), Scope::prototype(), false, false]]; }
/** * {@inheritdoc} */ public function getDefaultScope() { return Scope::prototype(); }