File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/ipol.sdek/classes/lib/SDEK/ExceptionCollection.php
Back
<?php namespace Ipolh\SDEK\SDEK; use Exception; use Ipolh\SDEK\Core\Entity\Collection; class ExceptionCollection extends Collection { public function __construct() { parent::__construct('errors'); } public function getAllMessages() { $this->reset(); if ($current = $this->getNext()) { /**@var $current Exception*/ $strReturn = $current->getMessage(); } else { return ''; } while ($current = $this->getNext()) { /**@var $current Exception*/ $strReturn .= ', ' . $current->getMessage(); } return $strReturn; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings