* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShopBundle\Service\Cache; use PrestaShopBundle\Service\Command\AbstractCommand; class Refresh extends AbstractCommand { /** * Add doctrine:schema:update to the execution. */ public function addDoctrineSchemaUpdate() { $this->addCacheClear(); $this->commands[] = [ 'command' => 'doctrine:schema:update', '--force' => true, ]; } }