PATH:
home
/
lab2454c
/
westernclear.net
/
vendor
/
guzzlehttp
/
guzzle
/
src
<?php namespace GuzzleHttp; use Psr\Http\Message\MessageInterface; final class BodySummarizer implements BodySummarizerInterface { /** * @var int|null */ private $truncateAt; public function __construct(int $truncateAt = null) { $this->truncateAt = $truncateAt; } /** * Returns a summarized message body. */ public function summarize(MessageInterface $message): ?string { return $this->truncateAt === null ? \GuzzleHttp\Psr7\Message::bodySummary($message) : \GuzzleHttp\Psr7\Message::bodySummary($message, $this->truncateAt); } }
[-] RetryMiddleware.php
[edit]
[-] RedirectMiddleware.php
[edit]
[+]
..
[-] BodySummarizer.php
[edit]
[+]
Exception
[-] ClientTrait.php
[edit]
[-] Utils.php
[edit]
[-] BodySummarizerInterface.php
[edit]
[-] Client.php
[edit]
[+]
Handler
[-] PrepareBodyMiddleware.php
[edit]
[-] functions_include.php
[edit]
[-] MessageFormatter.php
[edit]
[-] TransferStats.php
[edit]
[-] Middleware.php
[edit]
[-] HandlerStack.php
[edit]
[-] MessageFormatterInterface.php
[edit]
[+]
Cookie
[-] functions.php
[edit]
[-] RequestOptions.php
[edit]
[-] ClientInterface.php
[edit]
[-] Pool.php
[edit]