MockPost.php 583 B

1234567891011121314151617181920212223242526272829
  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\data;
  9. class MockPost extends \lithium\tests\mocks\data\MockBase {
  10. public $hasMany = array('MockComment');
  11. public static $connection = null;
  12. protected $_meta = array('connection' => false, 'key' => 'id');
  13. public static function instances() {
  14. return array_keys(static::$_instances);
  15. }
  16. public function foobar() {
  17. return;
  18. }
  19. }
  20. ?>