You are here

class StubRequestHandlerResourcePlugin in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/rest/tests/src/Kernel/RequestHandlerTest.php \Drupal\Tests\rest\Kernel\StubRequestHandlerResourcePlugin
  2. 9 core/modules/rest/tests/src/Kernel/RequestHandlerTest.php \Drupal\Tests\rest\Kernel\StubRequestHandlerResourcePlugin

Stub class where we can prophesize methods.

Hierarchy

Expanded class hierarchy of StubRequestHandlerResourcePlugin

File

core/modules/rest/tests/src/Kernel/RequestHandlerTest.php, line 101

Namespace

Drupal\Tests\rest\Kernel
View source
class StubRequestHandlerResourcePlugin extends ResourceBase {
  public function get($example = NULL, Request $request = NULL) {
  }
  public function post() {
  }
  public function patch($data, Request $request) {
  }
  public function delete() {
  }

}

Members