Symfony 5 HttpClient and TDD Tutorial (Part 4)

Опубликовано: 29 Сентябрь 2024
на канале: Gary Clarke
1,655
31

ℹ In this fourth episode, we will install the Symfony Serializer component using Composer and deserialize api client response into a Doctrine entity (Stock). We'll also improve the application by replacing a concrete dependency with an interface which will allow us to use a fake finance api client for the duration of our PHPUnit tests...reducing the elapsed test time considerably.

💻Here is the github repo for this tutorial. There is a separate branch for each recording. The branch for this one is called 'part-four'...however..to pick up where I start, choose branch 'part-three'.
https://github.com/GaryClarke/YahooAp....

🆓 Join garyclarke.tech for course DISCOUNTS and a FREE Docker + PHP course (worth $49)
https://www.garyclarke.tech

👇Follow me on Social Media:
Twitter:   / garyclarketech  
Linkedin:   / garyclarketech  

💕Show support:
https://www.paypal.com/donate/?hosted...