123456789101112131415161718192021222324252627 |
- <?php
- /**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2013, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
- namespace lithium\tests\mocks\util;
- class MockCollectionObject extends \lithium\core\Object {
- public $data = array(1 => 2);
- public function testFoo() {
- return 'testFoo';
- }
- public function to($format, array $options = array()) {
- switch ($format) {
- case 'array':
- return $this->data + array(2 => 3);
- }
- }
- }
- ?>
|