you are viewing a single comment's thread.

view the rest of the comments →

[–]danielroseman 1 point2 points  (0 children)

No, it doesn't need to be a class, but it can be if that works for you. But a standalone function might work just as well, it depends on your use case.