Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.219.197.162
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
symfony /
form /
Test /
Delete
Unzip
Name
Size
Permission
Date
Action
Traits
[ DIR ]
drwxrwxr-x
2022-07-20 13:00
FormBuilderInterface.php
435
B
-rw-rw-r--
2022-07-20 13:00
FormIntegrationTestCase.php
1.19
KB
-rw-rw-r--
2022-07-20 13:00
FormInterface.php
407
B
-rw-rw-r--
2022-07-20 13:00
FormPerformanceTestCase.php
1.41
KB
-rw-rw-r--
2022-07-20 13:00
TypeTestCase.php
1.69
KB
-rw-rw-r--
2022-07-20 13:00
Save
Rename
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Form\Test; use Symfony\Component\Form\Tests\VersionAwareTest; /** * Base class for performance tests. * * Copied from Doctrine 2's OrmPerformanceTestCase. * * @author robo * @author Bernhard Schussek <bschussek@gmail.com> */ abstract class FormPerformanceTestCase extends FormIntegrationTestCase { use VersionAwareTest; /** * @var int */ protected $maxRunningTime = 0; /** * {@inheritdoc} */ protected function runTest() { $s = microtime(true); parent::runTest(); $time = microtime(true) - $s; if (0 != $this->maxRunningTime && $time > $this->maxRunningTime) { $this->fail(sprintf('expected running time: <= %s but was: %s', $this->maxRunningTime, $time)); } } /** * @throws \InvalidArgumentException */ public function setMaxRunningTime(int $maxRunningTime) { if ($maxRunningTime < 0) { throw new \InvalidArgumentException(); } $this->maxRunningTime = $maxRunningTime; } /** * @return int */ public function getMaxRunningTime() { return $this->maxRunningTime; } }