You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TestDataAccess.php 503B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 9/27/15
  6. * Time: 5:21 PM
  7. */
  8. class FakeModel
  9. {
  10. public static function where($col, $operator, $value)
  11. {
  12. return new FakeModel();
  13. }
  14. public function first()
  15. {
  16. return new FakeModel();
  17. }
  18. public function toDbo()
  19. {
  20. return new FakeModel();
  21. }
  22. }
  23. class TestDataAccess extends \Luticate\Utils\LuDataAccess {
  24. protected static function getModel()
  25. {
  26. return new FakeModel();
  27. }
  28. }