mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
rename deprecated using path for ObjectManager
This commit is contained in:
parent
d8a9881e63
commit
33c9cdeaf2
@ -66,7 +66,7 @@ class ImportPeopleFromCSVCommand extends ContainerAwareCommand
|
|||||||
protected $helper;
|
protected $helper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \Doctrine\Common\Persistence\ObjectManager
|
* @var \Doctrine\Persistence\ObjectManager
|
||||||
*/
|
*/
|
||||||
protected $em;
|
protected $em;
|
||||||
|
|
||||||
@ -294,7 +294,7 @@ EOF
|
|||||||
{
|
{
|
||||||
|
|
||||||
$cfMappingsOptions = $this->input->getOption('custom-field');
|
$cfMappingsOptions = $this->input->getOption('custom-field');
|
||||||
/* @var $em \Doctrine\Common\Persistence\ObjectManager */
|
/* @var $em \Doctrine\Persistence\ObjectManager */
|
||||||
$em = $this->em;
|
$em = $this->em;
|
||||||
|
|
||||||
foreach($cfMappingsOptions as $cfMappingStringOption) {
|
foreach($cfMappingsOptions as $cfMappingStringOption) {
|
||||||
@ -393,7 +393,7 @@ EOF
|
|||||||
$this->logger->debug("Setting locale to ".$input->getArgument('locale'));
|
$this->logger->debug("Setting locale to ".$input->getArgument('locale'));
|
||||||
setlocale(LC_TIME, $input->getArgument('locale'));
|
setlocale(LC_TIME, $input->getArgument('locale'));
|
||||||
|
|
||||||
/* @var $em \Doctrine\Common\Persistence\ObjectManager */
|
/* @var $em \Doctrine\Persistence\ObjectManager */
|
||||||
$this->em = $this->getContainer()->get('doctrine.orm.entity_manager');
|
$this->em = $this->getContainer()->get('doctrine.orm.entity_manager');
|
||||||
|
|
||||||
// opening csv as resource
|
// opening csv as resource
|
||||||
|
Loading…
x
Reference in New Issue
Block a user