1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Version 2.0.5 no longer needs $cli call and the namespace for Components has changed.

This commit is contained in:
Renan Gonçalves aka renan.saddam 2011-05-19 06:20:50 -07:00
parent 7adbf5698a
commit 457abbacef

View File

@ -734,10 +734,9 @@ doctrine command. Its a fairly simple file:
.. code-block:: php
<?php
$helperSet = new \Symfony\Components\Console\Helper\HelperSet(array(
$helperSet = new \Symfony\Component\Console\Helper\HelperSet(array(
'em' => new \Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper($entityManager)
));
$cli->setHelperSet($helperSet);
You can then change into your project directory and call the
Doctrine command-line tool: