MCPcopy Create free account
hub / github.com/Rello/analytics / isEnabledForUser

Method isEnabledForUser

tests/Activity/ActivityAccessTest.php:233–239  ·  view source on GitHub ↗
($appId, $user = null)

Source from the content-addressed store, hash-verified

231 }
232
233 public function isEnabledForUser($appId, $user = null) {
234 if ($user === null) {
235 return false;
236 }
237
238 return $appId === 'analytics' && ($this->enabledUsers[$user->getUID()] ?? false);
239 }
240}
241
242class FakeUserManager implements IUserManager {

Callers

nothing calls this directly

Calls 1

getUIDMethod · 0.45

Tested by

no test coverage detected