Gets the Registry instance via lazy initialization (created on first usage).

/**
 * Gets the Registry instance via lazy initialization (created on first usage)
 */
public static function getInstance(): Registry

Examples

$registry = Registry::getInstance();