class DocumentResponse extends Response
Class DocumentResponse
Constants
PROP_ID |
|
PROP_SOURCE |
|
PROP_EXISTS |
|
PROP_VERSION |
|
PROP_INDEX |
|
PROP_TYPE |
|
Methods
void |
__construct($rawData $rawData, SerializerInterface $serializer, array $serializerParams = array())
|
from Response |
mixed |
getData()
|
from Response |
string |
getRawData()
|
from Response |
SerializerInterface |
getSerializer()
|
from Response |
bool |
hasSource()
checks if source exists |
|
array |
getSource()
gets the source of the response |
|
mixed |
exists()
Getter Method |
|
mixed |
getId()
Getter Method |
|
mixed |
getVersion()
Getter Method |
|
mixed |
getIndex()
Getter Method |
|
mixed |
getType()
Getter Method |
Details
in Response at line 57
public void
__construct($rawData $rawData, SerializerInterface $serializer, array $serializerParams = array())
in Response at line 67
public mixed
getData()
in Response at line 77
public string
getRawData()
in Response at line 85
public SerializerInterface
getSerializer()
at line 45
public bool
hasSource()
checks if source exists
at line 59
public array
getSource()
gets the source of the response
at line 74
public mixed
exists()
Getter Method
at line 87
public mixed
getId()
Getter Method
at line 100
public mixed
getVersion()
Getter Method
at line 113
public mixed
getIndex()
Getter Method
at line 126
public mixed
getType()
Getter Method