for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SamBurns\Pimple3ContainerInterop\Dev;
use Pimple\ServiceProviderInterface;
use Pimple\Container as PimpleContainer;
class ExampleServiceProvider implements ServiceProviderInterface
{
/**
* @param PimpleContainer $container
*/
public function register(PimpleContainer $container)
$container['example-service'] =
function () {
return new \stdClass();
};
}