PHP Class Piwik\Http\ControllerResolver

A controller is a PHP callable.
Afficher le fichier Open project: piwik/piwik Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( DI\FactoryInterface $abstractFactory, WidgetsProvider $widgets )
getController ( string $module, string | null $action, array &$parameters ) : callable

Private Methods

Méthode Description
createCoreHomeController ( )
createPluginController ( $module, $action )
createReportController ( $module, $action, array &$parameters )
createWidgetController ( $module, $action, array &$parameters )

Method Details

__construct() public méthode

public __construct ( DI\FactoryInterface $abstractFactory, WidgetsProvider $widgets )
$abstractFactory DI\FactoryInterface
$widgets Piwik\Plugin\WidgetsProvider

getController() public méthode

public getController ( string $module, string | null $action, array &$parameters ) : callable
$module string
$action string | null
$parameters array
Résultat callable The controller is a PHP callable.