Summary: Functors in PHP
Review what we’ve learned about functors and monads in this chapter.
We'll cover the following...
-
The fundamentals of functors and monads can be traced to category theory: a subscience whose primary concern is composition.
-
Categories are connections of objects and arrows, which, in programming, can be encoded as types and functions. ...