Slide 1

Slide 1 text

Ray.Di on Symfony #quartetcom 2016.02.26 @qckanemoto 1 / 23

Slide 2

Slide 2 text

2 / 23

Slide 3

Slide 3 text

3 / 23

Slide 4

Slide 4 text

2) Is it possible to use this instead of Symfony's out-of-the-box DI wiring? 4 / 23

Slide 5

Slide 5 text

... 5 / 23

Slide 6

Slide 6 text

6 / 23

Slide 7

Slide 7 text

7 / 23

Slide 8

Slide 8 text

8 / 23

Slide 9

Slide 9 text

9 / 23

Slide 10

Slide 10 text

10 / 23

Slide 11

Slide 11 text

11 / 23

Slide 12

Slide 12 text

12 / 23

Slide 13

Slide 13 text

On the other hand, Ray.Di... 13 / 23

Slide 14

Slide 14 text

is not a class I n j e c t o r f i n a l 14 / 23

Slide 15

Slide 15 text

OK, Maybe can make extended class which impl of Symfony I n j e c t o r C o n t a i n e r I n t e r f a c e 15 / 23

Slide 16

Slide 16 text

But little too much work... 16 / 23

Slide 17

Slide 17 text

More easy (lazy) solution 17 / 23

Slide 18

Slide 18 text

18 / 23

Slide 19

Slide 19 text

19 / 23

Slide 20

Slide 20 text

Usage To learn more see https://github.com/ray-di/Ray.Di 20 / 23

Slide 21

Slide 21 text

Conclusion is core of Symfony Maybe can replace it with other DI container But maybe not very easy let Symfony container and other container to co- exist by extending Symfony container is more easy way s y m f o n y / d e p e n d e n c y - i n j e c t i o n 21 / 23

Slide 22

Slide 22 text

Sample is here https://github.com/qckanemoto/symfony-raydi-sample 22 / 23

Slide 23

Slide 23 text

Thanks :) 23 / 23