ItemResponse

One item response
extends Koren\ErplyBooks\Response\Response
Methods Summary
public
# __construct( GuzzleHttp\Psr7\Response $response )
public
# getItem( )
Get item
public
# count( )
Countable
public
# jsonSerialize( )
JsonSerializable
public
# __toString( )
Magic method so we can echo item
public
# __get( string $name )
Property overloading This way we can get item data directly from response
public
# __isset( string $name )
Detect if item has specified property
Methods inherited from Koren\ErplyBooks\Response\Response
__construct(), getError(), __call()
Properties Summary
protected $item
Item
# NULL
Properties inherited from Koren\ErplyBooks\Response\Response
$response, $body, $error