MockCollectionMarker.php 458 B

123456789101112131415161718192021222324252627
  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\util;
  9. class MockCollectionMarker {
  10. public $marker = false;
  11. public $data = 'foo';
  12. public function mark() {
  13. $this->marker = true;
  14. return true;
  15. }
  16. public function mapArray() {
  17. return array('foo');
  18. }
  19. }
  20. ?>