Exemplo n.º 1
0
 /**
  * @return bool
  */
 public function isDistributed() : bool
 {
     $indexWithoutSource = false;
     foreach ($this->iterateOptions() as $option) {
         if ($option->getName()->is(eIndexOption::TYPE()) && $option->getValue() === 'distributed') {
             $indexWithoutSource = true;
         }
     }
     return $indexWithoutSource;
 }