mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
script import utilisateurs
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
Chill\MainBundle\Entity\User:
|
||||
type: entity
|
||||
table: users
|
||||
repositoryClass: Chill\MainBundle\Repository\UserRepository
|
||||
cache:
|
||||
usage: NONSTRICT_READ_WRITE
|
||||
region: acl_cache_region
|
||||
|
10
Resources/config/services/command.yml
Normal file
10
Resources/config/services/command.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
services:
|
||||
Chill\MainBundle\Command\ChillImportUsersCommand:
|
||||
arguments:
|
||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
||||
$logger: '@Psr\Log\LoggerInterface'
|
||||
$passwordEncoder: '@Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface'
|
||||
$validator: '@Symfony\Component\Validator\Validator\ValidatorInterface'
|
||||
|
||||
tags:
|
||||
- { name: console.command }
|
Reference in New Issue
Block a user