phpmyadmin/libraries/classes/Controllers/Table/AbstractController.php
Maurício Meneghini Fauth 1a14b3e4d3 Remove vim modelines
These settings are no longer required as they are guaranteed through
other coding standard tools.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-09-02 09:43:21 -03:00

54 lines
1.1 KiB
PHP

<?php
/**
* Holds the PhpMyAdmin\Controllers\Table\AbstractController
*
* @package PhpMyAdmin\Controllers
*/
declare(strict_types=1);
namespace PhpMyAdmin\Controllers\Table;
use PhpMyAdmin\Controllers\AbstractController as Controller;
use PhpMyAdmin\DatabaseInterface;
use PhpMyAdmin\Response;
use PhpMyAdmin\Template;
/**
* Handles table related logic
*
* @package PhpMyAdmin\Controllers
*/
abstract class AbstractController extends Controller
{
/**
* @var string
*/
protected $db;
/**
* @var string
*/
protected $table;
/**
* Constructor
*
* @param Response $response Response object
* @param DatabaseInterface $dbi DatabaseInterface object
* @param Template $template Template object
* @param string $db Database name
* @param string $table Table name
*/
public function __construct(
$response,
$dbi,
Template $template,
$db,
$table
) {
parent::__construct($response, $dbi, $template);
$this->db = $db;
$this->table = $table;
}
}