PluginProbe
Metricool – Social media and site statistics / trunk
Metricool – Social media and site statistics vtrunk
2.1.0 2.0.2 2.0.1 2.0.0 1.27 trunk
metricool / app / Features / UserSettings / UserSettingsLoader.php

UserSettingsLoader.php in Metricool – Social media and site statistics trunk, at app/Features/UserSettings/UserSettingsLoader.php

30 lines 470 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Metricool\Features\UserSettings;
6
7 use Metricool\Features\AbstractLoader;
8 use Metricool\Traits\HasAllowlistControl;
9
10 class UserSettingsLoader extends AbstractLoader
11 {
12 use HasAllowlistControl;
13
14 /**
15 * @inheritDoc
16 */
17 public function isEnabled(): bool
18 {
19 return true;
20 }
21
22 /**
23 * @inheritDoc
24 */
25 public function inScope(): bool
26 {
27 return $this->userCanManage();
28 }
29 }
30