You are here

public function RequestInterface::getPath in RESTful 7.2

Gets the request path.

Parameters

bool $strip: If TRUE it will strip the restful API prefix from the beginning.

Return value

string The path.

1 method overrides RequestInterface::getPath()
Request::getPath in src/Http/Request.php
Gets the request path.

File

src/Http/RequestInterface.php, line 141
Contains \Drupal\restful\Http\RequestInterface.

Class

RequestInterface

Namespace

Drupal\restful\Http

Code

public function getPath($strip = TRUE);