/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/debug_kit/src/Panel
NameSizeModeActions
CachePanel.php26480644editdlrm
DeprecationsPanel.php43480644editdlrm
EnvironmentPanel.php26560644editdlrm
HistoryPanel.php12160644editdlrm
IncludePanel.php33980644editdlrm
LogPanel.php15550644editdlrm
MailPanel.php27390644editdlrm
PackagesPanel.php12900644editdlrm
PanelRegistry.php27410644editdlrm
RequestPanel.php18550644editdlrm
RoutesPanel.php16090644editdlrm
SessionPanel.php11250644editdlrm
SqlLogPanel.php30720644editdlrm
TimerPanel.php46980644editdlrm
VariablesPanel.php38240644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/debug_kit/src/Panel/MailPanel.php (2739B)
getProperty('_config'); $property->setAccessible(true); /** @var array<\Cake\Mailer\AbstractTransport|array> $configs */ $configs = $property->getValue(); $log = $this->emailLog = new ArrayObject(); foreach ($configs as $name => $transport) { if (is_object($transport)) { if (!$transport instanceof DebugKitTransport) { $configs[$name] = new DebugKitTransport(['debugKitLog' => $log], $transport); } continue; } $className = App::className($transport['className'], 'Mailer/Transport', 'Transport'); if (!$className || $className === DebugKitTransport::class) { continue; } $transport['originalClassName'] = $transport['className']; $transport['className'] = 'DebugKit.DebugKit'; $transport['debugKitLog'] = $log; $configs[$name] = $transport; } $property->setValue($configs); } /** * Get the data this panel wants to store. * * @return array */ public function data() { return [ 'emails' => isset($this->emailLog) ? $this->emailLog->getArrayCopy() : [], ]; } /** * Get summary data from the queries run. * * @return string */ public function summary() { if (empty($this->emailLog)) { return ''; } return (string)count($this->emailLog); } }