コード例 #1
0
 /**
  * Get replicator
  *
  * @return Replicator
  */
 protected function getReplicator()
 {
     if (!$this->replicator) {
         $container = new Container();
         $this->replicator = $container->get('Kagency.CouchdbEndpoint.Replicator.Test');
     }
     return $this->replicator;
 }
コード例 #2
0
 /**
  * Get replicator
  *
  * @return Replicator
  */
 protected function getReplicator()
 {
     $container = new Container();
     return $container->get('Kagency.CouchdbEndpoint.Replicator.Test');
 }