Move Blob class to Rdbms namespaces
commit019fa7cb9c3aca1c80ec7e76e725dbc40a34f562
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 7 Feb 2017 17:36:12 +0000 (7 09:36 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 13 Feb 2017 21:07:00 +0000 (13 21:07 +0000)
tree20161655619429b53438323e365b4d4c3bf508c9
parent19d7ed58f1a35cf5d94caac694d6c5408731966b
Move Blob class to Rdbms namespaces

Leave \Blob as an alias. Callers can now use the Rdbms\Blob class
for "extends"/"new" and the Rdbms\IBlob interface for type hints.

Change-Id: I983b76f181ac60c1eb92c350cd27ad77ec90a192
13 files changed:
autoload.php
includes/db/DatabaseOracle.php
includes/libs/rdbms/database/Database.php
includes/libs/rdbms/database/DatabaseMssql.php
includes/libs/rdbms/database/DatabasePostgres.php
includes/libs/rdbms/database/DatabaseSqlite.php
includes/libs/rdbms/database/IDatabase.php
includes/libs/rdbms/encasing/Blob.php
includes/libs/rdbms/encasing/IBlob.php [new file with mode: 0644]
includes/libs/rdbms/encasing/MssqlBlob.php
includes/libs/rdbms/encasing/PostgresBlob.php
includes/utils/AutoloadGenerator.php
tests/phpunit/includes/db/DatabaseSqliteTest.php