MockMediaClass.php 478 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * Lithium: the most rad php framework
  4. *
  5. * @copyright Copyright 2013, 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\action;
  9. class MockMediaClass extends \lithium\net\http\Media {
  10. public static function render($response, $data = null, array $options = array()) {
  11. $response->options = $options;
  12. $response->data = $data;
  13. return $response;
  14. }
  15. }
  16. ?>