From 60096fe48f4384dfb1ce97484fb36d3e164006dd Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Mon, 15 Jun 2009 11:27:51 +0000 Subject: [PATCH] MINOR: Implemented the Countable interface on DataObjectSet. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@79236 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/DataObjectSet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/model/DataObjectSet.php b/core/model/DataObjectSet.php index fbafbe745..73fe57d63 100644 --- a/core/model/DataObjectSet.php +++ b/core/model/DataObjectSet.php @@ -5,7 +5,7 @@ * @package sapphire * @subpackage model */ -class DataObjectSet extends ViewableData implements IteratorAggregate { +class DataObjectSet extends ViewableData implements IteratorAggregate, Countable { /** * The DataObjects in this set. * @var array