MockCollectionStringCast.php 401 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * Lithium: the most rad php framework
  4. *
  5. * @copyright Copyright 2012, Union of RAD (http://union-of-rad.org)
  6. * @license http://opensource.org/licenses/bsd-license.php The BSD License
  7. */
  8. namespace lithium\tests\mocks\util;
  9. class MockCollectionStringCast {
  10. protected $_data = array(1 => 2, 2 => 3);
  11. public function __toString() {
  12. return json_encode($this->_data);
  13. }
  14. }
  15. ?>