| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Scriptotek\Sru; |
||
| 6 | interface ResponseInterface |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * Create a new response |
||
| 10 | * |
||
| 11 | * @param string $text Raw XML response |
||
| 12 | * @param Client $client SRU client reference (optional) |
||
| 13 | * @return void |
||
|
|
|||
| 14 | */ |
||
| 15 | public function __construct($text = null, &$client = null); |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Get the raw xml response |
||
| 19 | * |
||
| 20 | * @return string |
||
| 21 | */ |
||
| 22 | public function asXml(); |
||
| 23 | } |
||
| 24 |
Adding a
@returnannotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.