
Dependency Injection: intro (1/6)
Do you remember your first program? We don't know what language it was written in, but if it were PHP 7, it would probably look something like this: function addition(float $a, float $b): float { return $a + $b; } echo addition(23, 1); // prints 24 ……
Importováno: | 29. 1. 2020 15:30, phpFashion |
---|---|
Trvalý odkaz: | https://blog.nette.org/en/dependency-injection-intro-1-6 |