ACIL FM
Dark
Refresh
Current DIR:
/opt/cpanel/ea-wappspector/vendor/phpunit/phpunit/src/Framework/MockObject/Generator
/
opt
cpanel
ea-wappspector
vendor
phpunit
phpunit
src
Framework
MockObject
Generator
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
Exception
-
chmod
Open
Rename
Delete
templates
-
chmod
Open
Rename
Delete
Generator.php
34.3 MB
chmod
View
DL
Edit
Rename
Delete
MockClass.php
1.79 MB
chmod
View
DL
Edit
Rename
Delete
MockMethod.php
11.76 MB
chmod
View
DL
Edit
Rename
Delete
MockMethodSet.php
1.18 MB
chmod
View
DL
Edit
Rename
Delete
MockTrait.php
1.21 MB
chmod
View
DL
Edit
Rename
Delete
MockType.php
622 B
chmod
View
DL
Edit
Rename
Delete
TemplateLoader.php
1.02 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /opt/cpanel/ea-wappspector/vendor/phpunit/phpunit/src/Framework/MockObject/Generator/MockTrait.php
<?php declare(strict_types=1); /* * This file is part of PHPUnit. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\Framework\MockObject\Generator; use function class_exists; /** * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit * * @internal This class is not covered by the backward compatibility promise for PHPUnit * * @deprecated https://github.com/sebastianbergmann/phpunit/issues/5243 */ final class MockTrait implements MockType { private readonly string $classCode; /** * @psalm-var class-string */ private readonly string $mockName; /** * @psalm-param class-string $mockName */ public function __construct(string $classCode, string $mockName) { $this->classCode = $classCode; $this->mockName = $mockName; } /** * @psalm-return class-string */ public function generate(): string { if (!class_exists($this->mockName, false)) { eval($this->classCode); } return $this->mockName; } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply