add a chill:person:move command

This commit is contained in:
2019-06-11 19:10:37 +02:00
parent 3c6d39dc56
commit df3c7e0fc4
6 changed files with 247 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
services:
Chill\PersonBundle\Actions\Remove\PersonMove:
arguments:
$em: '@Doctrine\ORM\EntityManagerInterface'

View File

@@ -8,3 +8,10 @@ services:
$eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface'
tags:
- { name: console.command }
Chill\PersonBundle\Command\ChillPersonMoveCommand:
arguments:
$em: '@Doctrine\ORM\EntityManagerInterface'
$mover: '@Chill\PersonBundle\Actions\Remove\PersonMove'
tags:
- { name: console.command }