diff --git a/manual/en/configuration.txt b/manual/en/configuration.txt index b0f9bd90f..da2714617 100644 --- a/manual/en/configuration.txt +++ b/manual/en/configuration.txt @@ -33,7 +33,7 @@ The following example shows the setup of a `ClassLoader` // test.php require '/path/to/lib/Doctrine/Common/ClassLoader.php'; - $classLoader = new \Doctrine\Common\ClassLoader('Doctrine', '/path/to/Doctrine2/lib); + $classLoader = new \Doctrine\Common\ClassLoader('Doctrine', '/path/to/Doctrine2/lib'); $classLoader->register(); // register on SPL autoload stack For best class loading performance it is recommended that you keep your include_path short, ideally it should only contain the path to the PEAR libraries, and any other class libraries should be registered with their full base path. @@ -410,4 +410,4 @@ based on namespaces: Based on the namespace of the entity the loading of entities is delegated to the appropriate driver. The chain semantics come from the fact that the driver loops through all namespaces and matches the entity class name against the namespace using a `strpos() === 0` call. This means you need to order the drivers correctly if -sub-namespaces use different metadata driver implementations. \ No newline at end of file +sub-namespaces use different metadata driver implementations.