* doctrine cli helper added

* deploy path fixed
This commit is contained in:
Danyi Dávid
2017-09-03 18:13:58 +02:00
parent 92eefa7a63
commit 11634b4402
2 changed files with 10 additions and 1 deletions

9
cli-config.php Normal file
View File

@@ -0,0 +1,9 @@
<?php
$container = require 'config/container.php';
return new \Symfony\Component\Console\Helper\HelperSet([
'em' => new \Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper(
$container->get('doctrine.entity_manager.orm_default')
),
]);