uawdijnntqw1x1x1
IP : 216.73.216.107
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
apps
/
craft4-newsite-space
/
vendor
/
craftcms
/
cms
/
src
/
debug
/
.
/
RequestPanel.php
/
/
<?php /** * @link https://craftcms.com/ * @copyright Copyright (c) Pixel & Tonic, Inc. * @license https://craftcms.github.io/license/ */ namespace craft\debug; use Craft; use craft\helpers\StringHelper; /** * Debugger panel that collects and displays request data. * * @author Pixel & Tonic, Inc. <support@pixelandtonic.com> * @since 3.1.1 */ class RequestPanel extends \yii\debug\panels\RequestPanel { /** * @inheritdoc */ public function save(): array { $data = parent::save(); $data = Craft::$app->getSecurity()->redactIfSensitive('', $data); if (isset($data['actionParams'])) { $this->serializeObjects($data['actionParams']); } return $data; } private function serializeObjects(array &$arr, int $indent = 1): void { foreach ($arr as &$value) { if (is_object($value)) { $dump = trim(Craft::dump($value, 10, false, true)); $value = ltrim(StringHelper::indent($dump, str_repeat(' ', $indent))); } elseif (is_array($value)) { $this->serializeObjects($value, $indent + 1); } } } }
/srv/users/craft4/apps/craft4-newsite-space/vendor/craftcms/cms/src/debug/./RequestPanel.php