Example #1
0
 public function _before()
 {
     $this->default = CoOption::getDefault();
     self::$CoOption = Proxy::get(CoOption::class);
 }
Example #2
0
 public function _before()
 {
     $this->Basic = Proxy::get(Basic::class);
 }
Example #3
0
 public function _before()
 {
     $this->Magic = Proxy::get(Magic::class);
 }
Example #4
0
 public function _before()
 {
     self::$GeneratorContainer = Proxy::get(GeneratorContainer::class);
 }
Example #5
0
File: CoTest.php Project: mpyw/co
 public function testGetDefaultOptions()
 {
     $expected = Proxy::get(CoOption::class)->getStatic('defaults');
     $actual = Co::getDefaultOptions();
     $this->assertEquals($expected, $actual);
 }