for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace AbterPhp\Framework\Bootstrappers\Vendor;
use AbterPhp\Framework\Assets\UrlFixer;
use AbterPhp\Framework\Config\Routes;
use Opulence\Ioc\Bootstrappers\Bootstrapper;
use Opulence\Ioc\Bootstrappers\ILazyBootstrapper;
use Opulence\Ioc\IContainer;
class UrlFixerBootstrapper extends Bootstrapper implements ILazyBootstrapper
{
/**
* @return array
*/
public function getBindings(): array
return [
UrlFixer::class,
];
}
* @param IContainer $container
public function registerBindings(IContainer $container)
$urlFixer = new UrlFixer(Routes::getCacheUrl());
$container->bindInstance(UrlFixer::class, $urlFixer);