PHP code example of coolms / core-bundle
1. Go to this page and download the library: Download coolms/core-bundle 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/ */
coolms / core-bundle example snippets
// config/bundles.php
CoolMS\Core\Bundle\CoreBundle::class => ['all' => true],
use CoolMS\Core\Bundle\AbstractCoolmsBundle;
use CoolMS\Core\Bundle\DependencyInjection\AbstractExtension;
final class MyModuleBundle extends AbstractCoolmsBundle
{
public function getContainerExtension(): Extension
{
return new MyModuleExtension();
}
}