����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 3.131.93.117 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/builderbox/public_html/vendor/php-http/message/src/Decorator/ |
Upload File : |
<?php namespace Http\Message\Decorator; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\UriInterface; /** * @author Márk Sági-Kazár <mark.sagikazar@gmail.com> */ trait RequestDecorator { use MessageDecorator { getMessage as getRequest; } /** * Exchanges the underlying request with another. * * @return self */ public function withRequest(RequestInterface $request) { $new = clone $this; $new->message = $request; return $new; } /** * {@inheritdoc} */ public function getRequestTarget() { return $this->message->getRequestTarget(); } /** * {@inheritdoc} */ public function withRequestTarget($requestTarget) { $new = clone $this; $new->message = $this->message->withRequestTarget($requestTarget); return $new; } /** * {@inheritdoc} */ public function getMethod() { return $this->message->getMethod(); } /** * {@inheritdoc} */ public function withMethod($method) { $new = clone $this; $new->message = $this->message->withMethod($method); return $new; } /** * {@inheritdoc} */ public function getUri() { return $this->message->getUri(); } /** * {@inheritdoc} */ public function withUri(UriInterface $uri, $preserveHost = false) { $new = clone $this; $new->message = $this->message->withUri($uri, $preserveHost); return $new; } }