Exemple #1
0
 /**
  * {@inheritdoc}
  */
 public function getDefaultScope()
 {
     return Scope::singleton();
 }
Exemple #2
0
 /**
  * @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]];
 }
Exemple #3
0
 /**
  * {@inheritdoc}
  */
 public function getDefaultScope()
 {
     return Scope::prototype();
 }