1 | <?php |
||
15 | class RebuildFolderTreeCommand extends ContainerAwareCommand |
||
16 | { |
||
17 | /** |
||
18 | * @var EntityManager |
||
19 | */ |
||
20 | private $em; |
||
21 | |||
22 | /** |
||
23 | * @param EntityManagerInterface|null $em |
||
24 | */ |
||
25 | public function __construct(/* EntityManagerInterface */ $em = null) |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | protected function configure() |
||
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | protected function execute(InputInterface $input, OutputInterface $output) |
||
64 | } |
||
65 |
If you suppress an error, we recommend checking for the error condition explicitly: