for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Provider;
use BusinessLogic;
use League\Container\ServiceProvider\AbstractServiceProvider;
class BusinessLogicProvider extends AbstractServiceProvider
{
protected $provides = [
BusinessLogic::class
];
public function register()
$this->container->share(BusinessLogic::class, function () {
return new BusinessLogic();
});
}