silverstripe-framework/tests/php/ORM/ArrayListTest/TestObject.php
2020-04-20 18:58:09 +01:00

22 lines
353 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 ['First' => $this->First, 'Second' => $this->Second];
}
}