. */ /** * Factory template. * * @since 4.6.0 * @package Container */ namespace Textpattern\Container; interface FactoryInterface { /** * Gets an instance. * * @param string $name The class * @return object */ public static function get($name); /** * Gets the container. * * @return \Textpattern\Container\ContainerInterface */ public static function getContainer(); }