123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
- declare(strict_types=1);
- namespace OCA\Settings\Sections\Personal;
- use OCP\IL10N;
- use OCP\IURLGenerator;
- use OCP\Settings\IIconSection;
- class Security implements IIconSection {
-
- private $l;
-
- private $urlGenerator;
- public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
- $this->l = $l;
- $this->urlGenerator = $urlGenerator;
- }
- public function getIcon() {
- return $this->urlGenerator->imagePath('settings', 'password.svg');
- }
- public function getID(): string {
- return 'security';
- }
- public function getName(): string {
- return $this->l->t('Security');
- }
- public function getPriority(): int {
- return 5;
- }
- }
|