Beispiel #1
0
 /**
  * Get the value of an index
  *
  * @param Index $index
  * @return string
  */
 public function getIndexValue(Index $index)
 {
     $values = [];
     foreach ($index->getColumns() as $column) {
         $values[] = (string) $this->getPropertyValue($column);
     }
     foreach ($index->getMethods() as $method) {
         $values[] = (string) $this->getMethodValue($method);
     }
     return implode(self::ID_DELIMITER, $values);
 }