factory( 'PMA\libraries\controllers\database\DatabaseStructureController' ); $container->alias( 'DatabaseStructureController', 'PMA\libraries\controllers\database\DatabaseStructureController' ); $container->set('PMA\libraries\Response', Response::getInstance()); $container->alias('response', 'PMA\libraries\Response'); /* Define dependencies for the concerned controller */ $dependency_definitions = array( 'db' => $db, 'url_query' => &$GLOBALS['url_query'], ); /** @var DatabaseStructureController $controller */ $controller = $container->get( 'DatabaseStructureController', $dependency_definitions ); $controller->indexAction();