I am trying to make Doctrine 2 work. But on the documentation page about the CLI tool, it’s including something in Symfony…
$helperSet = new \Symfony\Component\Console\Helper\HelperSet(array(
'db' => new \Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper($em->getConnection()),
'em' => new \Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper($em)
));
What * * is that ? Why do you need Symfony to make Doctrine work ?
It seems completely odd to me, but I can’t make my mind to download Symfony just for the missing class… Can you help me ?
The doctrine console stuff uses some Symfony Components (which are standalone libraries, packaged separately from the full framework).
So it’s nothing strange — the doctrine team just avoided reinventing a perfectly good wheel.