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>
42 lines
1.0 KiB
PHP
42 lines
1.0 KiB
PHP
<?php
|
|
/**
|
|
* Holds the PhpMyAdmin\Controllers\Server\Status\AbstractController
|
|
*
|
|
* @package PhpMyAdmin\Controllers
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Controllers\Server\Status;
|
|
|
|
use PhpMyAdmin\Controllers\AbstractController as Controller;
|
|
use PhpMyAdmin\DatabaseInterface;
|
|
use PhpMyAdmin\Response;
|
|
use PhpMyAdmin\Server\Status\Data;
|
|
use PhpMyAdmin\Template;
|
|
|
|
/**
|
|
* Abstract class Controller
|
|
* @package PhpMyAdmin\Controllers\Server\Status
|
|
*/
|
|
abstract class AbstractController extends Controller
|
|
{
|
|
/**
|
|
* @var Data
|
|
*/
|
|
protected $data;
|
|
|
|
/**
|
|
* AbstractController constructor.
|
|
*
|
|
* @param Response $response Response object
|
|
* @param DatabaseInterface $dbi DatabaseInterface object
|
|
* @param Template $template Template object
|
|
* @param Data $data Data object
|
|
*/
|
|
public function __construct($response, $dbi, Template $template, $data)
|
|
{
|
|
parent::__construct($response, $dbi, $template);
|
|
$this->data = $data;
|
|
}
|
|
}
|