1 | <?php namespace Nord\Lumen\Doctrine\ORM\Console; |
||
3 | class GenerateProxiesCommand extends DoctrineCommand |
||
4 | { |
||
5 | |||
6 | /** |
||
7 | * @var string |
||
8 | */ |
||
9 | protected $name = 'doctrine:generate:proxies'; |
||
10 | |||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | protected $description = 'Generates proxies for entities.'; |
||
15 | |||
16 | |||
17 | /** |
||
18 | * @inheritdoc |
||
19 | */ |
||
20 | public function fire() |
||
46 | } |
||
47 |
An exit expression should only be used in rare cases. For example, if you write a short command line script.
In most cases however, using an
exit
expression makes the code untestable and often causes incompatibilities with other libraries. Thus, unless you are absolutely sure it is required here, we recommend to refactor your code to avoid its usage.