1 | <?php |
||
27 | class GearmanWorkerListCommand extends AbstractGearmanCommand |
||
28 | { |
||
29 | /** |
||
30 | * @var GearmanClient |
||
31 | * |
||
32 | * Gearman client |
||
33 | */ |
||
34 | protected $gearmanClient; |
||
35 | |||
36 | /** |
||
37 | * Set gearman client |
||
38 | * |
||
39 | * @param GearmanClient $gearmanClient Gearman client |
||
40 | * |
||
41 | * @return GearmanJobDescribeCommand self Object |
||
42 | */ |
||
43 | 2 | public function setGearmanClient(GearmanClient $gearmanClient) |
|
49 | |||
50 | /** |
||
51 | * Console Command configuration |
||
52 | */ |
||
53 | 2 | protected function configure() |
|
61 | |||
62 | /** |
||
63 | * Executes the current command. |
||
64 | * |
||
65 | * @param InputInterface $input An InputInterface instance |
||
66 | * @param OutputInterface $output An OutputInterface instance |
||
67 | * |
||
68 | * @return integer 0 if everything went fine, or an error code |
||
69 | * |
||
70 | * @throws \LogicException When this abstract class is not implemented |
||
71 | */ |
||
72 | 2 | protected function execute(InputInterface $input, OutputInterface $output) |
|
102 | } |
||
103 |