opt
/
cpanel
/
ea-wappspector
/
vendor
/
guzzlehttp
/
guzzle
/
src
➕ New
📤 Upload
✎ Editing:
BodySummarizer.php
← Back
<?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 ? Psr7\Message::bodySummary($message) : Psr7\Message::bodySummary($message, $this->truncateAt); } }
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel