@@ 28-35 (lines=8) @@ | ||
25 | /** |
|
26 | * @return \Omnipay\Common\Message\AbstractRequest |
|
27 | */ |
|
28 | public function getWorker() |
|
29 | { |
|
30 | if ($this->_worker === null) { |
|
31 | $this->_worker = $this->merchant->getWorker()->{$this->getType()}($this->getData()); |
|
32 | } |
|
33 | ||
34 | return $this->_worker; |
|
35 | } |
|
36 | } |
|
37 |
@@ 21-28 (lines=8) @@ | ||
18 | /** |
|
19 | * @return \Omnipay\Common\Message\AbstractRequest |
|
20 | */ |
|
21 | public function getWorker() |
|
22 | { |
|
23 | if ($this->_worker === null) { |
|
24 | $this->_worker = $this->merchant->getWorker()->{$this->getType()}($this->getData()); |
|
25 | } |
|
26 | ||
27 | return $this->_worker; |
|
28 | } |
|
29 | ||
30 | public function getData() |
|
31 | { |