Common interface for ImportStreamSource and ImportStringSource.
authordaniel <daniel.kinzler@wikimedia.de>
Tue, 10 Feb 2015 10:34:09 +0000 (11:34 +0100)
committerdaniel <daniel.kinzler@wikimedia.de>
Tue, 10 Feb 2015 10:35:55 +0000 (11:35 +0100)
commit891cc28a9793ba94429020b33b6f8d85aa409ef1
tree9e44f823543784972338bef2ab98aa2794960832
parent6d9946294737f21d939c1addf81496ed679beb24
Common interface for ImportStreamSource and ImportStringSource.

ImportStringSource is handy for testing, but was unusable due to type hints
against ImportStreamSource. Introducing a common interface implemented by both
fixes this.

Change-Id: I820ffd8312789c26f55c18b6c46be191a550870a
autoload.php
includes/Import.php