AbstractController.php 541 B

12345678910111213141516171819202122232425
  1. <?php
  2. declare(strict_types=1);
  3. namespace PhpMyAdmin\Controllers\Database;
  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. /**
  12. * @param Response $response
  13. * @param string $db Database name
  14. */
  15. public function __construct($response, Template $template, $db)
  16. {
  17. parent::__construct($response, $template);
  18. $this->db = $db;
  19. }
  20. }