File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
app/code/Magento/Indexer/Console/Command Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,9 @@ private function validateIndexerStatus(IndexerInterface $indexer)
243243 * Get config
244244 *
245245 * @return ConfigInterface
246- * @deprecated 100.1.0
246+ * @deprecated 100.1.0 We don't recommend this approach anymore
247+ * @see Add a new optional parameter to the constructor at the end of the arguments list instead
248+ * and fetch the dependency using Magento\Framework\App\ObjectManager::getInstance() in the constructor body
247249 */
248250 private function getConfig ()
249251 {
@@ -257,7 +259,9 @@ private function getConfig()
257259 * Get dependency info provider
258260 *
259261 * @return DependencyInfoProvider
260- * @deprecated 100.2.0
262+ * @deprecated 100.2.0 We don't recommend this approach anymore
263+ * @see Add a new optional parameter to the constructor at the end of the arguments list instead
264+ * and fetch the dependency using Magento\Framework\App\ObjectManager::getInstance() in the constructor body
261265 */
262266 private function getDependencyInfoProvider ()
263267 {
You can’t perform that action at this time.
0 commit comments