-
Notifications
You must be signed in to change notification settings - Fork 1
Request: getRequestTarget Example
Terry L edited this page Jun 18, 2020
·
3 revisions
Extends Message.
-
return
string
In most cases, this will be the origin-form of the composed URI, unless it is changed by withRequestTarget method.
Example:
echo $request->getRequestTarget();
// Outputs: /composer require shieldon/psr-httpShieldon PSR HTTP implementation written by Terry L. from Taiwan.
