示例#1
0
 public function testRemove()
 {
     $this->container->set('a', function () {
         return stdClass();
     });
     $this->assertTrue($this->container->remove('a'));
 }
示例#2
0
 public function refresh()
 {
     foreach ($this->values as $service) {
         $service->disconnect();
     }
     parent::refresh();
 }