| @@ 34-42 (lines=9) @@ | ||
| 31 | * |
|
| 32 | * @Inject({ShortUrlService::class, "translator", "Logger_Shlink"}) |
|
| 33 | */ |
|
| 34 | public function __construct( |
|
| 35 | ShortUrlServiceInterface $shortUrlService, |
|
| 36 | TranslatorInterface $translator, |
|
| 37 | LoggerInterface $logger = null |
|
| 38 | ) { |
|
| 39 | parent::__construct($logger); |
|
| 40 | $this->shortUrlService = $shortUrlService; |
|
| 41 | $this->translator = $translator; |
|
| 42 | } |
|
| 43 | ||
| 44 | /** |
|
| 45 | * @param Request $request |
|
| @@ 37-45 (lines=9) @@ | ||
| 34 | * |
|
| 35 | * @Inject({ShortUrlService::class, "translator", "Logger_Shlink"}) |
|
| 36 | */ |
|
| 37 | public function __construct( |
|
| 38 | ShortUrlServiceInterface $shortUrlService, |
|
| 39 | TranslatorInterface $translator, |
|
| 40 | LoggerInterface $logger = null |
|
| 41 | ) { |
|
| 42 | parent::__construct($logger); |
|
| 43 | $this->shortUrlService = $shortUrlService; |
|
| 44 | $this->translator = $translator; |
|
| 45 | } |
|
| 46 | ||
| 47 | /** |
|
| 48 | * @param Request $request |
|