for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Scriptotek\Sru;
/**
* Interface defining data objects that hold the information of an SRU response
*/
interface ResponseInterface
{
* Create a new response
*
* @param string $text Raw XML response
* @param Client $client SRU client reference (optional)
* @return void
@return
Adding a @return annotation 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.
public function __construct($text = null, &$client = null);
* Get the raw xml response
* @return string
public function asXml();
}
Adding a
@return
annotation 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.