Esempio n. 1
0
 /**
  * Lock key
  * 
  * @return string
  */
 public function getLockKey()
 {
     return get_class() . $this->model->getId();
 }
Esempio n. 2
0
 /**
  * {@inheritDoc}
  */
 public function getId()
 {
     if ($this->__isInitialized__ === false) {
         return (int) parent::getId();
     }
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
     return parent::getId();
 }