/** * @return \Omnipay\Common\Message\AbstractRequest */ public function getWorker() { if ($this->_worker === null) { $this->_worker = $this->merchant->getWorker()->{$this->getType()}($this->getData()); } return $this->_worker; }