Parser.php 616 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * This file is part of the ForkBB <https://github.com/forkbb>.
  4. *
  5. * @copyright (c) Visman <mio.visman@yandex.ru, https://github.com/MioVisman>
  6. * @license The MIT License (MIT)
  7. */
  8. declare(strict_types=1);
  9. namespace ForkBB\Models\Pages\Admin;
  10. use ForkBB\Core\Container;
  11. use ForkBB\Models\Pages\Admin;
  12. use function \ForkBB\__;
  13. abstract class Parser extends Admin
  14. {
  15. public function __construct(Container $container)
  16. {
  17. parent::__construct($container);
  18. $this->aIndex = 'parser';
  19. $this->c->Lang->load('validator');
  20. $this->c->Lang->load('admin_parser');
  21. }
  22. }