Add a docblock
This commit is contained in:
parent
ac23f7a70a
commit
7979ef5376
|
|
@ -260,6 +260,9 @@ final class JsonApi implements RequestHandlerInterface
|
|||
return $this->basePath;
|
||||
}
|
||||
|
||||
/**
|
||||
* Strip the API's base path from the start of the given path.
|
||||
*/
|
||||
public function stripBasePath(string $path): string
|
||||
{
|
||||
$basePath = parse_url($this->basePath, PHP_URL_PATH);
|
||||
|
|
|
|||
Loading…
Reference in New Issue