mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
22 lines
358 B
PHP
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);
|
|
}
|
|
}
|