📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-03 20:42:15
📂
/ (Root)
/
home
/
orkouolp
/
web
/
testing.orkobd
/
laravel
/
vendor
/
nette
/
utils
/
tests
/
Utils
📍 /home/orkouolp/web/testing.orkobd/laravel/vendor/nette/utils/tests/Utils
🔄 Refresh
✏️
Editing: StaticClass.phpt
Writable
<?php /** * Test: Nette\StaticClass */ declare(strict_types=1); use Tester\Assert; require __DIR__ . '/../bootstrap.php'; class TestClass { use Nette\StaticClass; public static function method() { } } Assert::exception( fn() => new TestClass, Error::class, 'Call to private TestClass::__construct() from global scope', ); Assert::exception( fn() => TestClass::methodA(), Nette\MemberAccessException::class, 'Call to undefined static method TestClass::methodA(), did you mean method()?', );
💾 Save Changes
❌ Cancel