public final function __clone() { throw new \LogicException(sprintf('Class %s can have only one instance.', get_class($this))); }