summaryrefslogtreecommitdiff
path: root/tests/simple_unit/SqlMap/domain/AccountCollection.php
blob: 06e30dc876bd76c6adf278c87cbd1d6b8a82de0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

class AccountCollection extends TList
{
	public function addRange($accounts)
	{
		foreach($accounts as $account)
			$this->add($account);
	}

	public function copyTo(TList $array)
	{
		$array->copyFrom($this);
	}
}