Conditions | 2 |
Paths | 8 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
40 | public function handle() |
||
41 | { |
||
42 | try { |
||
43 | $this->start_time = microtime(TRUE); |
||
|
|||
44 | $this->output = new \Symfony\Component\Console\Output\ConsoleOutput(); |
||
45 | $this->output->writeln('############### Starting delete Duplication ################'); |
||
46 | Student_guardian::withTrashed()->restore(); |
||
47 | $this->delete(); |
||
48 | $this->end_time = microtime(TRUE); |
||
49 | $this->output->writeln('The cook took ' . ($this->end_time - $this->start_time) . ' seconds to complete'); |
||
50 | } catch (\Throwable $th) { |
||
51 | } |
||
68 |