set class readonly
This commit is contained in:
@@ -8,12 +8,12 @@ use App\Entity\TagRebuildJob;
|
|||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
final class TagRebuildJobService
|
final readonly class TagRebuildJobService
|
||||||
{
|
{
|
||||||
public function __construct(
|
public function __construct(
|
||||||
private readonly EntityManagerInterface $em,
|
private EntityManagerInterface $em,
|
||||||
private readonly LoggerInterface $agentLogger,
|
private LoggerInterface $agentLogger,
|
||||||
private readonly string $projectDir,
|
private string $projectDir,
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
public function enqueueAndStartAsync(): TagRebuildJob
|
public function enqueueAndStartAsync(): TagRebuildJob
|
||||||
|
|||||||
Reference in New Issue
Block a user