File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ public static function findUploadedFileFactory()
111111 *
112112 * @throws Exception\NotFoundException
113113 */
114- public static function findUrlFactory ()
114+ public static function findUriFactory ()
115115 {
116116 try {
117117 $ messageFactory = static ::findOneByType (UriFactoryInterface::class);
@@ -121,4 +121,16 @@ public static function findUrlFactory()
121121
122122 return static ::instantiateClass ($ messageFactory );
123123 }
124+
125+ /**
126+ * @return UriFactoryInterface
127+ *
128+ * @throws Exception\NotFoundException
129+ *
130+ * @deprecated This will be removed in 2.0. Consider using the findUrlFactory() method.
131+ */
132+ public static function findUrlFactory ()
133+ {
134+ return static ::findUriFactory ();
135+ }
124136}
You can’t perform that action at this time.
0 commit comments