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