Method |
Description |
|
__call ( string $method, array $params ) : mixed |
Pass methods to service connection. Path and method are determined from Http::$_method. If
not set, a GET request with the $method as the path will be used. |
|
__construct ( array $config = [] ) : void |
Constructor. |
|
__get ( string $property ) : mixed |
Pass properties to service connection |
|
connect ( ) : boolean |
Fake the connection since service is called for every method. |
|
create ( object $query, array $options = [] ) : mixed |
Create function used to POST. |
|
delete ( object $query, array $options = [] ) : string |
Used by model to DELETE. |
|
describe ( string $entity, array $fields = [], array $meta = [] ) : array |
Describe data source. |
|
disconnect ( ) : boolean |
Disconnect from socket. |
|
read ( object $query, array $options = [] ) : string |
Read used by model to GET. |
|
relationship ( string $class, string $type, string $name, array $options = [] ) : array |
Defines or modifies the default settings of a relationship between two models. |
|
respondsTo ( string $method, boolean $internal = false ) : boolean |
Determines if a given method can be called. |
|
send ( array $query = null, array $options = [] ) : mixed |
Method to send to a specific resource. |
|
sources ( object $class = null ) : array |
Returns available data sources (typically a list of REST resources collections). |
|
update ( object $query, array $options = [] ) : string |
Update used by model to PUT. |
|