Rename PhpMyAdmin\Controllers\Server\Status\Controller to PhpMyAdmin\Controllers\Server\Status\AbstractController. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
38 lines
946 B
PHP
38 lines
946 B
PHP
<?php
|
|
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
|
/**
|
|
* Holds the PhpMyAdmin\Controllers\Server\Status\AbstractController
|
|
*
|
|
* @package PhpMyAdmin\Controllers
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Controllers\Server\Status;
|
|
|
|
use PhpMyAdmin\Controllers\Controller as BaseController;
|
|
use PhpMyAdmin\Server\Status\Data;
|
|
|
|
/**
|
|
* Abstract class Controller
|
|
* @package PhpMyAdmin\Controllers\Server\Status
|
|
*/
|
|
abstract class AbstractController extends BaseController
|
|
{
|
|
/**
|
|
* @var Data
|
|
*/
|
|
protected $data;
|
|
|
|
/**
|
|
* AbstractController constructor.
|
|
* @param \PhpMyAdmin\Response $response Response object
|
|
* @param \PhpMyAdmin\DatabaseInterface $dbi DatabaseInterface object
|
|
* @param Data $data Data object
|
|
*/
|
|
public function __construct($response, $dbi, $data)
|
|
{
|
|
parent::__construct($response, $dbi);
|
|
$this->data = $data;
|
|
}
|
|
}
|