G11n.php 717 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\console\command;
  9. use lithium\console\command\g11n\Extract;
  10. /**
  11. * The `G11n` set of commands deals with the extraction and merging of message templates.
  12. */
  13. class G11n extends \lithium\console\Command {
  14. /**
  15. * The main method of the command.
  16. *
  17. * @return void
  18. */
  19. public function run() {}
  20. /**
  21. * Runs the `Extract` command.
  22. *
  23. * @return void
  24. */
  25. public function extract() {
  26. $extract = new Extract(array('request' => $this->request));
  27. return $extract->run();
  28. }
  29. }
  30. ?>