39 \Symfony\Component\Console\Output\OutputInterface
$output,
44 $this->cleanupFiles = $objectManagerProvider->get()->get(\
Magento\Framework\
App\
State\CleanupFiles::class);
45 $this->cache = $objectManagerProvider->get()->get(\
Magento\Framework\
App\Cache::class);
65 'Cleaning generated files...',
72 'Cleaning static view files',
79 throw new \RuntimeException(sprintf(
'Could not complete %s successfully: %s', $this, $e->getMessage()));
130 return $this->objectManager->create(\
Magento\Deploy\Model\Filesystem::class);
140 return $this->objectManager->create(
141 \
Magento\Deploy\Model\Mode::class,
143 'input' =>
new \Symfony\Component\Console\Input\ArrayInput([]),
144 'output' => $this->
output,
output($string, $level=INFO, $label='')
__construct(\Magento\Setup\Model\ObjectManagerProvider $objectManagerProvider, \Symfony\Component\Console\Output\OutputInterface $output, \Magento\Setup\Model\Cron\Status $status, $name, $params=[])
if($exist=($block->getProductCollection() && $block->getProductCollection() ->getSize())) $mode