"Fossies" - the Fresh Open Source Software Archive

Member "phpMyAdmin-5.1.0-all-languages/libraries/classes/Controllers/Server/Status/AbstractController.php" (24 Feb 2021, 569 Bytes) of package /linux/www/phpMyAdmin-5.1.0-all-languages.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "AbstractController.php": 5.0.4-english_vs_5.1.0-english.

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