EPESI BIM • Business Information Manager • Cloud CRM/ERP http://epe.si/ https://epe.si
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ThemeRebuildCommand.php 722B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: pjedwabny
  5. * Date: 08.09.15
  6. * Time: 21:10
  7. */
  8. namespace Epesi\Console;
  9. use Base_ThemeCommon;
  10. use Symfony\Component\Console\Command\Command;
  11. use Symfony\Component\Console\Input\InputInterface;
  12. use Symfony\Component\Console\Output\OutputInterface;
  13. class ThemeRebuildCommand extends Command
  14. {
  15. protected function configure(){
  16. $this
  17. ->setName('theme:rebuild')
  18. ->setDescription('Rebuild EPESI default theme')
  19. ;
  20. }
  21. protected function execute(InputInterface $input, OutputInterface $output) {
  22. $output->writeln('Rebuilding themes...');
  23. Base_ThemeCommon::themeup();
  24. $output->writeln('Theme rebuilded!');
  25. }
  26. }