1 | <?php |
||
10 | abstract class LockCommand extends ContainerAwareCommand |
||
11 | { |
||
12 | /** |
||
13 | * @var OutputInterface |
||
14 | */ |
||
15 | protected $output; |
||
16 | /** |
||
17 | * @var InputInterface |
||
18 | */ |
||
19 | protected $input; |
||
20 | |||
21 | /** |
||
22 | * @param InputInterface $input |
||
23 | * @param OutputInterface $output |
||
24 | * |
||
25 | * @return bool |
||
26 | */ |
||
27 | public function execute(InputInterface $input, OutputInterface $output) |
||
41 | |||
42 | /** |
||
43 | * @return string |
||
44 | */ |
||
45 | public function lockerName() |
||
49 | |||
50 | abstract public function treatment(); |
||
51 | |||
52 | /** |
||
53 | * @param $entityFqdn |
||
54 | * @return \Doctrine\ORM\EntityRepository |
||
55 | */ |
||
56 | protected function getRepository($entityFqdn) |
||
60 | |||
61 | /** |
||
62 | * Récupère l'entity manager. |
||
63 | * |
||
64 | * @return \Doctrine\ORM\EntityManager |
||
65 | */ |
||
66 | protected function getEntityManager() |
||
70 | |||
71 | /** |
||
72 | * @return \Doctrine\DBAL\Connection |
||
73 | */ |
||
74 | protected function getConnection() |
||
78 | |||
79 | /** |
||
80 | * @return string |
||
81 | */ |
||
82 | protected function getEnvironment(){ |
||
85 | |||
86 | } |
||
|
|||
87 |
This check marks files that end in a newline character, i.e. an empy line.