<?php

namespace Planaday\Utility\DependencyInjection;

/**
 * @template T of object
 */
interface ComponentRegistryShortCut {

	/**
	 * @param ComponentRegistry $registry
	 *
	 * @throws InjectionImpossibleException
	 *
	 * @return T
	 */
	public static function componentRegistryConstruct(ComponentRegistry $registry);
}