Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lorenzo [9:27 PM]
- I sued decorator for a bunch of stuff, but where it is more obvious is in the result set
- the statement object is a decorator for pdo statement
- the code that casts the results to the right type (int, dates…) is a decorator of the statement
- the code that converts the rows to entities is a decorator of the statement…
- formatResults is a decorator of the result set
Add Comment
Please, Sign In to add comment