Functions to solve most Symfony HttpClient problems.
Create a class with the getHttpClient method, example: src/ExampleClass.php
docker build -t yapro/symfony-http-client-ext:latest -f ./Dockerfile ./
docker run --rm -v $(pwd):/app yapro/symfony-http-client-ext:latest bash -c "cd /app \
&& composer install --optimize-autoloader --no-scripts --no-interaction \
&& /app/vendor/bin/phpunit /app/tests"
docker build -t yapro/symfony-http-client-ext:latest -f ./Dockerfile ./
docker run -it --rm -v $(pwd):/app -w /app yapro/symfony-http-client-ext:latest bash
composer install -o