MockStringObject.php 500 B

1234567891011121314151617181920212223
  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 MockStringObject extends \lithium\template\view\Renderer {
  10. public $message = 'custom object';
  11. public function render($template, $data = array(), array $options = array()) {
  12. }
  13. public function __toString() {
  14. return $this->message;
  15. }
  16. }
  17. ?>