Example of how you would overwrite the UsersManager_API with your own class:
Call the following in your plugin __construct() for example:
StaticContainer::getContainer()->set('UsersManager_API', \Piwik\Plugins\MyCustomUsersManager\API::getInstance());
public static getInstance ( ) : |
||
리턴 |