AbstractController.php 667 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. declare(strict_types=1);
  3. namespace PhpMyAdmin\Controllers\Table;
  4. use PhpMyAdmin\Controllers\AbstractController as Controller;
  5. use PhpMyAdmin\Response;
  6. use PhpMyAdmin\Template;
  7. abstract class AbstractController extends Controller
  8. {
  9. /** @var string */
  10. protected $db;
  11. /** @var string */
  12. protected $table;
  13. /**
  14. * @param Response $response
  15. * @param string $db Database name
  16. * @param string $table Table name
  17. */
  18. public function __construct($response, Template $template, $db, $table)
  19. {
  20. parent::__construct($response, $template);
  21. $this->db = $db;
  22. $this->table = $table;
  23. }
  24. }