1 | <?php |
||
13 | class SyncCommand extends ContainerAwareCommand |
||
14 | { |
||
15 | /** |
||
16 | * Sets name and description of the command |
||
17 | */ |
||
18 | protected function configure() |
||
25 | |||
26 | /** |
||
27 | * Executes the current command. |
||
28 | * |
||
29 | * @param InputInterface $input Input interface |
||
30 | * @param OutputInterface $output Output interface |
||
31 | * |
||
32 | * @return int 0 if everything went fine |
||
33 | */ |
||
34 | protected function execute(InputInterface $input, OutputInterface $output) |
||
46 | |||
47 | /** |
||
48 | * @param string $type of the filters |
||
49 | * |
||
50 | * @return array of the filter objects |
||
51 | */ |
||
52 | protected function getFilters($type) |
||
76 | } |
||
77 |