PHP 8.3.30
Preview: StaticClass.php Size: 550 B
/home/getspomw/.trash/vendor/nette/utils/src/StaticClass.php

<?php

/**
 * This file is part of the Nette Framework (https://nette.org)
 * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
 */

declare(strict_types=1);

namespace Nette;


/**
 * Static class.
 */
trait StaticClass
{
	/**
	 * Class is static and cannot be instantiated.
	 */
	private function __construct()
	{
	}


	/**
	 * Call to undefined static method.
	 * @throws MemberAccessException
	 */
	public static function __callStatic(string $name, array $args): mixed
	{
		Utils\ObjectHelpers::strictStaticCall(static::class, $name);
	}
}

Directory Contents

Dirs: 2 × Files: 7

Name Size Perms Modified Actions
Iterators DIR
- drwxrwxrwx 2025-09-17 06:53:29
Edit Download
Utils DIR
- drwxrwxrwx 2025-09-17 06:53:29
Edit Download
686 B lrw-rw-rw- 2025-09-17 06:53:29
Edit Download
337 B lrw-r--r-- 2026-04-19 08:08:05
Edit Download
2.20 KB lrw-rw-rw- 2025-09-17 06:53:29
Edit Download
335 B lrw-rw-rw- 2025-09-17 06:53:29
Edit Download
3.49 KB lrw-rw-rw- 2025-09-17 06:53:29
Edit Download
550 B lrw-rw-rw- 2025-09-17 06:53:29
Edit Download
428 B lrw-rw-rw- 2025-09-17 06:53:29
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).