Commit bae5b9cb authored by b0nd0's avatar b0nd0 Committed by GitHub

Inaccuracies in documentation

One class missed and one non-existing in example at "Supporting Other Databases" page.
parent 66fa7f84
......@@ -6,13 +6,14 @@ you have to implement the following interfaces and abstract
classes:
- ``\Doctrine\DBAL\Driver\Driver``
- ``\Doctrine\DBAL\Driver\Connection``
- ``\Doctrine\DBAL\Driver\Statement``
- ``\Doctrine\DBAL\Driver``
- ``\Doctrine\DBAL\Platforms\AbstractPlatform``
- ``\Doctrine\DBAL\Schema\AbstractSchemaManager``
For an already supported platform but unsupported driver you only
need to implement the first two interfaces, since the SQL
need to implement the first three interfaces, since the SQL
Generation and Schema Management is already supported by the
respective platform and schema instances. You can also make use of
several Abstract Unittests in the ``\Doctrine\Tests\DBAL`` package
......@@ -31,7 +32,7 @@ Implementation Steps in Detail
1. Add your driver shortcut to class-name `Doctrine\DBAL\DriverManager`.
2. Make a copy of tests/dbproperties.xml.dev and adjust the values to your driver shortcut and testdatabase.
3. Create three new classes implementing ``\Doctrine\DBAL\Driver\Driver``, ``\Doctrine\DBAL\Driver\Statement``
3. Create three new classes implementing ``\Doctrine\DBAL\Driver\Connection``, ``\Doctrine\DBAL\Driver\Statement``
and ``Doctrine\DBAL\Driver``. You can take a look at the ``Doctrine\DBAL\Driver\OCI8`` driver.
4. You can run the testsuite of your new database driver by calling "phpunit -c .". You can set your own settings in phpunit.xml file.
5. Start implementing AbstractPlatform and AbstractSchemaManager. Other implementations should serve as good example.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment