Пример #1
0
 /**
  * Lock key
  * 
  * @return string
  */
 public function getLockKey()
 {
     return get_class() . $this->model->getId();
 }
Пример #2
0
 /**
  * {@inheritDoc}
  */
 public function prepareEntityBeforeCommit($type)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'prepareEntityBeforeCommit', array($type));
     return parent::prepareEntityBeforeCommit($type);
 }