silverstripe-framework/tests/php/ORM/ArrayListTest/TestObject.php

22 lines
358 B
PHP
Raw Normal View History

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