Exemplo n.º 1
0
 public function __construct(Target $target, array $operations)
 {
     $this->target = $target;
     $this->cluster = $target->getCluster();
     $this->container = $target->getContainer();
     $this->operations = $operations;
     $this->director = new RandomDirector($this->cluster);
     $this->result = new OperationListResult($this->target->getCluster()->getName());
 }
Exemplo n.º 2
0
 protected function getLoggerPrefix()
 {
     return $this->target->getCluster()->getName();
 }