Static Classes

StaticClass is used to denote static classes.

Installation:

composer require nette/utils

Static classes, i.e. classes that are not intended to be instantiated, can be marked with the trait Nette\StaticClass:

class Strings
{
	use Nette\StaticClass;
}
version: 4.0 3.x