diff --git a/docs/en/reference/introduction.rst b/docs/en/reference/introduction.rst index 8e91d7f084..74013d0a5a 100644 --- a/docs/en/reference/introduction.rst +++ b/docs/en/reference/introduction.rst @@ -410,7 +410,7 @@ their mapping. .. note:: - The last call to ``spl_autoload_regiter`` is necessary to autoload generated + The last call to ``spl_autoload_register`` is necessary to autoload generated proxy classes. Without this, the proxy library would re-generate proxy classes for every request. See the `tuning for production`_ chapter in ProxyManager's documentation. diff --git a/lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GenerateHydratorsCommand.php b/lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GenerateHydratorsCommand.php index d8c144fafd..7cc3b04f32 100644 --- a/lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GenerateHydratorsCommand.php +++ b/lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GenerateHydratorsCommand.php @@ -101,7 +101,7 @@ protected function execute(Console\Input\InputInterface $input, Console\Output\O $dm->getHydratorFactory()->generateHydratorClasses($metadatas, $destPath); // Outputting information message - $output->write(PHP_EOL . sprintf('Hydrator classes generated to "%s"', $destPath) . PHP_EOL); + $output->write(PHP_EOL . sprintf('Hydrator classes generated to "%s"', $destPath) . PHP_EOL); } else { $output->write('No Metadata Classes to process.' . PHP_EOL); } diff --git a/lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GeneratePersistentCollectionsCommand.php b/lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GeneratePersistentCollectionsCommand.php index 0cfa1d6d02..a34f22c8aa 100644 --- a/lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GeneratePersistentCollectionsCommand.php +++ b/lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GeneratePersistentCollectionsCommand.php @@ -111,7 +111,7 @@ protected function execute(Console\Input\InputInterface $input, Console\Output\O } // Outputting information message - $output->write(PHP_EOL . sprintf('Persistent collections classes generated to "%s"', $destPath) . PHP_EOL); + $output->write(PHP_EOL . sprintf('Persistent collections classes generated to "%s"', $destPath) . PHP_EOL); } else { $output->write('No Metadata Classes to process.' . PHP_EOL); } diff --git a/lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GenerateProxiesCommand.php b/lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GenerateProxiesCommand.php index 16b2592e63..b471eea1c1 100644 --- a/lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GenerateProxiesCommand.php +++ b/lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GenerateProxiesCommand.php @@ -103,7 +103,7 @@ protected function execute(Console\Input\InputInterface $input, Console\Output\O $dm->getProxyFactory()->generateProxyClasses($metadatas); // Outputting information message - $output->write(PHP_EOL . sprintf('Proxy classes generated to "%s"', $destPath) . PHP_EOL); + $output->write(PHP_EOL . sprintf('Proxy classes generated to "%s"', $destPath) . PHP_EOL); } else { $output->write('No Metadata Classes to process.' . PHP_EOL); }