for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace WPEmerge\Requests;
use WPEmerge\Requests\Request;
use WPEmerge\ServiceProviders\ServiceProviderInterface;
/**
* Provide request dependencies.
*
* @codeCoverageIgnore
*/
class RequestsServiceProvider implements ServiceProviderInterface {
* {@inheritDoc}
public function register( $container ) {
$container[ WPEMERGE_REQUEST_KEY ] = function() {
return Request::fromGlobals();
};
}
public function boot( $container ) {
// nothing to boot