Re: SplObjectStorage

From: Date: Fri, 27 Jan 2006 19:23:26 +0000
Subject: Re: SplObjectStorage
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-21709@lists.php.net to get a copy of this message
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

« previous php.internals (#21709) next »