update Piwik to version 2.16 (fixes #91)
This commit is contained in:
parent
296343bf3b
commit
d885a4baa9
5833 changed files with 418860 additions and 226988 deletions
59
www/analytics/core/Application/EnvironmentManipulator.php
Normal file
59
www/analytics/core/Application/EnvironmentManipulator.php
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*/
|
||||
|
||||
namespace Piwik\Application;
|
||||
|
||||
use Piwik\Application\Kernel\GlobalSettingsProvider;
|
||||
use Piwik\Application\Kernel\PluginList;
|
||||
|
||||
/**
|
||||
* Used to manipulate Environment instances before the container is created.
|
||||
* Only used by the testing environment setup code, shouldn't be used anywhere
|
||||
* else.
|
||||
*/
|
||||
interface EnvironmentManipulator
|
||||
{
|
||||
/**
|
||||
* Create a custom GlobalSettingsProvider kernel object, overriding the default behavior.
|
||||
*
|
||||
* @return GlobalSettingsProvider
|
||||
*/
|
||||
public function makeGlobalSettingsProvider(GlobalSettingsProvider $original);
|
||||
|
||||
/**
|
||||
* Create a custom PluginList kernel object, overriding the default behavior.@deprecated
|
||||
*
|
||||
* @param GlobalSettingsProvider $globalSettingsProvider
|
||||
* @return PluginList
|
||||
*/
|
||||
public function makePluginList(GlobalSettingsProvider $globalSettingsProvider);
|
||||
|
||||
/**
|
||||
* Invoked before the container is created.
|
||||
*/
|
||||
public function beforeContainerCreated();
|
||||
|
||||
/**
|
||||
* Return an array of definition arrays that override DI config specified in PHP config files.
|
||||
*
|
||||
* @return array[]
|
||||
*/
|
||||
public function getExtraDefinitions();
|
||||
|
||||
/**
|
||||
* Invoked after the container is created and the environment is considered bootstrapped.
|
||||
*/
|
||||
public function onEnvironmentBootstrapped();
|
||||
|
||||
/**
|
||||
* Return an array of environment names to apply after the normal environment.
|
||||
*
|
||||
* @return string[]
|
||||
*/
|
||||
public function getExtraEnvironments();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue