for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TheCodingMachine\GraphQL\Controllers\Containers;
use Psr\Container\ContainerInterface;
/**
* An always empty container (to use as a stub for the BasicAutoWiringContainer).
*/
class EmptyContainer implements ContainerInterface
{
public function get($id)
throw NotFoundException::notFound($id);
}
public function has($id)
return false;