The Slim Framework support forum has moved to This Tender forum is no longer maintained or monitored.

nomenclature slim-dev

maks feltrin's Avatar

maks feltrin

24 Jun, 2014 02:23 PM

i was wondering about the new name Collection used for the old Helper\Set class, that i think could be a little confusing.
The class implements a common pattern (my quasi popo entities implements it as well), but i think the name collection should be used when sorting, appending, prepending elements(items) matters (see Doctrine Collections for example). zf2 and sf2 use the names parameter container / parameter bag for that. Could the name be changed to something like DataContainer?

sorry about the trivial matter, but naming stuff always take me a lot of time.

kind regards

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac