22 lines
360 B
PHP
Raw Normal View History

2016-10-14 14:30:05 +13:00
<?php
namespace SilverStripe\Model\Tests\List\ArrayListTest;
2016-10-14 14:30:05 +13:00
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 ['First' => $this->First, 'Second' => $this->Second];
}
2016-10-14 14:30:05 +13:00
}