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

23 lines
317 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;
public function __construct($first, $second)
{
$this->First = $first;
$this->Second = $second;
}
public function toMap()
{
return array('First' => $this->First, 'Second' => $this->Second);
}
}