From 0da71631839202f75ab8023c1bf62c7278fa0264 Mon Sep 17 00:00:00 2001 From: Massimiliano Arione Date: Thu, 11 Oct 2018 18:04:30 +0200 Subject: [PATCH] remove ClassLoader --- docs/en/reference/introduction.rst | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/docs/en/reference/introduction.rst b/docs/en/reference/introduction.rst index e52f7fff858..ae495ea9815 100644 --- a/docs/en/reference/introduction.rst +++ b/docs/en/reference/introduction.rst @@ -25,19 +25,13 @@ The following database vendors are currently supported: The Doctrine 2 database layer can be used independently of the object-relational mapper. In order to use the DBAL all you need is -the ``Doctrine\Common`` and ``Doctrine\DBAL`` namespaces. Once you -have the Common and DBAL namespaces you must setup a class loader -to be able to autoload the classes: +the class loader provided by Composer, to be able to autoload the classes: .. code-block:: php register(); + + require_once 'vendor/autoload.php'; Now you are able to load classes that are in the ``/path/to/doctrine`` directory like