You are here

public function ResourceInterface::doGet in RESTful 7.2

Shorthand method to perform a quick GET request.

Parameters

string $path: The resource path.

array $query: The parsed query string.

Return value

array The array ready for the formatter.

2 methods override ResourceInterface::doGet()
Resource::doGet in src/Plugin/resource/Resource.php
Shorthand method to perform a quick GET request.
ResourceDecoratorBase::doGet in src/Plugin/resource/Decorators/ResourceDecoratorBase.php
Shorthand method to perform a quick GET request.

File

src/Plugin/resource/ResourceInterface.php, line 397
Contains \Drupal\restful\Plugin\resource\ResourceInterface.

Class

ResourceInterface
Interface ResourceInterface.

Namespace

Drupal\restful\Plugin\resource

Code

public function doGet($path = '', array $query = array());