Hi, Marcus,

On Jan 27, 2006, at 1:10 PM, Marcus Boerger wrote:

  yes, it is a conainer and not a set.

So why not call it a container instead of storage?

And it cannot take anything other
than php objects. That's why.

SplObjectContainer?

But, then, it has that uniqueness constraint. The SplObjectStorage name doesn't convey that idea at all.

SplUniqueObjectContainer?

From an API standpoint (rather than an implementation standpoint), I don't understand the need for the object only constraint in PHP.

SplUniqueZvalContainer?
SplUniqueValueContainer?
SplUniqueMemberContainer?

Yours,

Jeff

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to