Esempio n. 1
0
 /**
  * get a string to identify this object in logs
  *
  * the default implementation returns the class name stripped of the namespace
  * with added id and round-number
  *
  * @return string
  */
 protected function getLogIdentification()
 {
     $className = get_class($this);
     $className = substr($className, strrpos($className, "\\") + 1);
     //        $className .= sprintf('{%s}', spl_object_hash($this));
     $className .= sprintf('(id:%d,no:%d)', $this->round->getId(), $this->round->getNumber());
     return $className;
 }