1 | <?php |
||
29 | class AbstractUrlRewriteCommand extends Command |
||
30 | { |
||
31 | |||
32 | /** |
||
33 | * @var \Symfony\Component\Console\Helper\ProgressBar |
||
34 | */ |
||
35 | protected $progressBar; |
||
36 | |||
37 | /** |
||
38 | * @var \Magento\Framework\ObjectManagerInterface |
||
39 | */ |
||
40 | protected $objectManager; |
||
41 | /** |
||
42 | * @var \Symfony\Component\Console\Output\OutputInterface |
||
43 | */ |
||
44 | protected $output; |
||
45 | /** |
||
46 | * @var \Magento\Framework\App\ObjectManagerFactory |
||
47 | */ |
||
48 | private $objectManagerFactory; |
||
|
|||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | protected function execute(InputInterface $input, OutputInterface $output) |
||
58 | |||
59 | /** |
||
60 | * Setup progress bar |
||
61 | */ |
||
62 | private function setupProgress() |
||
69 | |||
70 | /** |
||
71 | * Replace data with new product urls |
||
72 | * |
||
73 | * @param $urls |
||
74 | */ |
||
75 | protected function replaceUrls(array $urls) |
||
85 | |||
86 | /** |
||
87 | * Get Url UrlPersist |
||
88 | * @return \Magento\UrlRewrite\Model\UrlPersistInterface |
||
89 | */ |
||
90 | protected function getUrlPersist() |
||
95 | |||
96 | /** |
||
97 | * Gets initialized object manager |
||
98 | * |
||
99 | * @return \Magento\Framework\ObjectManagerInterface |
||
100 | */ |
||
101 | protected function getObjectManager() |
||
114 | |||
115 | /** |
||
116 | * @return \Magento\Framework\Model\ResourceModel\Iterator |
||
117 | */ |
||
118 | public function getIterator() |
||
122 | |||
123 | |||
124 | /** |
||
125 | * @return \Magento\Store\Model\StoreManagerInterface |
||
126 | */ |
||
127 | public function getStoreManager() |
||
131 | |||
132 | } |
This check marks private properties in classes that are never used. Those properties can be removed.