404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.147.2.189: ~ $
<?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
{
	/**
	 * @return never
	 * @throws \Error
	 */
	final public function __construct()
	{
		throw new \Error('Class ' . static::class . ' is static and cannot be instantiated.');
	}


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

Filemanager

Name Type Size Permission Actions
Iterators Folder 0755
Utils Folder 0755
HtmlStringable.php File 335 B 0644
SmartObject.php File 3.48 KB 0644
StaticClass.php File 633 B 0644
Translator.php File 428 B 0644
compatibility.php File 686 B 0644
exceptions.php File 2.2 KB 0644