MockCreator.php 698 B

123456789101112131415161718192021222324252627282930313233343536
  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 MockCreator extends \lithium\tests\mocks\data\MockBase {
  10. public static $connection = null;
  11. protected $_meta = array('connection' => false);
  12. protected $_schema = array(
  13. 'name' => array(
  14. 'default' => 'Moe',
  15. 'type' => 'string',
  16. 'null' => false
  17. ),
  18. 'sign' => array(
  19. 'default' => 'bar',
  20. 'type' => 'string',
  21. 'null' => false
  22. ),
  23. 'age' => array(
  24. 'default' => 0,
  25. 'type' => 'number',
  26. 'null' => false
  27. )
  28. );
  29. }
  30. ?>