SampleShell.php 860 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * SampleShell file
  4. *
  5. * PHP 5
  6. *
  7. * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
  8. * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  9. *
  10. * Licensed under The MIT License
  11. * Redistributions of files must retain the above copyright notice
  12. *
  13. * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  14. * @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
  15. * @package Cake.Test.test_app.Console.Command
  16. * @since CakePHP(tm) v 1.2.0.7871
  17. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  18. */
  19. class SampleShell extends Shell {
  20. /**
  21. * main method
  22. *
  23. * @return void
  24. */
  25. public function main() {
  26. $this->out('This is the main method called from SampleShell');
  27. }
  28. }