22 lines
358 B
PHP
Raw Normal View History

2016-10-14 14:30:05 +13:00
<?php
namespace SilverStripe\ORM\Tests\ArrayListTest;
class TestObject
{
public $First;
public $Second;
2016-10-14 14:30:05 +13:00
public function __construct($first, $second)
{
$this->First = $first;
$this->Second = $second;
}
2016-10-14 14:30:05 +13:00
public function toMap()
{
return array('First' => $this->First, 'Second' => $this->Second);
}
2016-10-14 14:30:05 +13:00
}