Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php namespace Ntholenaar\MultiSafepayClient\Request; |
||
34 | public function show($identifier) |
||
35 | { |
||
36 | if (empty($identifier)) { |
||
37 | throw new \InvalidArgumentException('Invalid identifier provided.'); |
||
38 | } |
||
39 | |||
40 | return $this->get( |
||
41 | $this->getUriFactory()->createUri($this->getBaseUrl() . '/' . $identifier) |
||
42 | ); |
||
43 | } |
||
44 | } |
||
45 |