mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 02:09:03 +02:00
Renamed PermissionResolver service to PermissionService
This commit is contained in:
parent
131e9a2850
commit
b0c027f805
17 changed files with 50 additions and 53 deletions
|
@ -42,7 +42,7 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Services\TranslationExtractor;
|
||||
|
||||
use App\Services\PermissionResolver;
|
||||
use App\Services\UserSystem\PermissionManager;
|
||||
use Symfony\Component\Translation\Extractor\ExtractorInterface;
|
||||
use Symfony\Component\Translation\MessageCatalogue;
|
||||
|
||||
|
@ -55,7 +55,7 @@ final class PermissionExtractor implements ExtractorInterface
|
|||
private array $permission_structure;
|
||||
private bool $finished = false;
|
||||
|
||||
public function __construct(PermissionResolver $resolver)
|
||||
public function __construct(PermissionManager $resolver)
|
||||
{
|
||||
$this->permission_structure = $resolver->getPermissionStructure();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue