WelcomeShell.php 909 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Short description for file.
  4. *
  5. * PHP 5
  6. *
  7. * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
  8. * Copyright 2005-2010, 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-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
  14. * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
  15. * @package cake.tests.test_app.plugins.test_plugin_two.vendors.shells
  16. * @since CakePHP(tm) v 1.2.0.7871
  17. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  18. */
  19. class WelcomeShell extends Shell {
  20. /**
  21. * say_hello method
  22. *
  23. * @access public
  24. * @return void
  25. */
  26. function say_hello() {
  27. $this->out('This is the say_hello method called from TestPluginTwo.WelcomeShell');
  28. }
  29. }