Initial commit
This commit is contained in:
30
#pma/libraries/controllers/DatabaseController.php
Normal file
30
#pma/libraries/controllers/DatabaseController.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* Holds the PMA\DatabaseController
|
||||
*
|
||||
* @package PMA
|
||||
*/
|
||||
namespace PMA\libraries\controllers;
|
||||
|
||||
/**
|
||||
* Handles database related logic
|
||||
*
|
||||
* @package PhpMyAdmin
|
||||
*/
|
||||
abstract class DatabaseController extends Controller
|
||||
{
|
||||
/**
|
||||
* @var string $db
|
||||
*/
|
||||
protected $db;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->db = $this->container->get('db');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user