protected function getLocker() { if ($this->_locker === null) { $this->_locker = Locker::getInstance($this->buildPath('lock')); // TODO: get rid of singleton } return $this->_locker; }