silverstripe-framework/tests/php/ORM/ArrayListTest/TestObject.php
2016-12-19 16:08:19 +13:00

22 lines
358 B
PHP

<?php
namespace SilverStripe\ORM\Tests\ArrayListTest;
class TestObject
{
public $First;
public $Second;
public function __construct($first, $second)
{
$this->First = $first;
$this->Second = $second;
}
public function toMap()
{
return array('First' => $this->First, 'Second' => $this->Second);
}
}