Merge pull request #982 from zoao/3.0

More fluent API.
This commit is contained in:
Will Rossiter 2012-11-29 20:06:01 -08:00
commit 69dffd9b86

View File

@ -77,6 +77,8 @@ class SS_Map implements ArrayAccess, Countable, IteratorAggregate {
$oldItems = $this->firstItems;
$this->firstItems = array($key => $value);
if($oldItems) $this->firstItems = $this->firstItems + $oldItems;
return $this;
}
// ArrayAccess