Command.php 366 B

123456789101112131415161718
  1. <?php
  2. namespace Knp\Command;
  3. use Symfony\Component\Console\Command\Command as BaseCommand;
  4. class Command extends BaseCommand
  5. {
  6. public function getSilexApplication()
  7. {
  8. return $this->getApplication()->getSilexApplication();
  9. }
  10. public function getProjectDirectory()
  11. {
  12. return $this->getApplication()->getProjectDirectory();
  13. }
  14. }