PHP code example of netresearch / akeneo-bootstrap
1. Go to this page and download the library: Download netresearch/akeneo-bootstrap library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
netresearch / akeneo-bootstrap example snippets
namespace Acme\AkeneoConfig\Bootstrap;
use \Netresearch\AkeneoBootstrap\Bootstrap\BootstrapAbstract;
class Generate extends BootstrapAbstract {
public function getMessage() {
return 'Forcing cache to be cleared'
. ' (cache dir: ' . $this->getKernel()->getCacheDir() . ')';
}
public function run()
{
$this->isCacheClearRequired(true);
}
}