module/CLI/src/Command/Shortcode/GenerateShortcodeCommand.php 1 location
|
@@ 34-43 (lines=10) @@
|
| 31 |
|
*/ |
| 32 |
|
private $translator; |
| 33 |
|
|
| 34 |
|
public function __construct( |
| 35 |
|
UrlShortenerInterface $urlShortener, |
| 36 |
|
TranslatorInterface $translator, |
| 37 |
|
array $domainConfig |
| 38 |
|
) { |
| 39 |
|
$this->urlShortener = $urlShortener; |
| 40 |
|
$this->translator = $translator; |
| 41 |
|
$this->domainConfig = $domainConfig; |
| 42 |
|
parent::__construct(null); |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
public function configure() |
| 46 |
|
{ |
module/Rest/src/Action/CreateShortcodeAction.php 1 location
|
@@ 33-43 (lines=11) @@
|
| 30 |
|
*/ |
| 31 |
|
private $translator; |
| 32 |
|
|
| 33 |
|
public function __construct( |
| 34 |
|
UrlShortenerInterface $urlShortener, |
| 35 |
|
TranslatorInterface $translator, |
| 36 |
|
array $domainConfig, |
| 37 |
|
LoggerInterface $logger = null |
| 38 |
|
) { |
| 39 |
|
parent::__construct($logger); |
| 40 |
|
$this->urlShortener = $urlShortener; |
| 41 |
|
$this->translator = $translator; |
| 42 |
|
$this->domainConfig = $domainConfig; |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
/** |
| 46 |
|
* @param Request $request |
module/Rest/src/Action/ResolveUrlAction.php 1 location
|
@@ 28-36 (lines=9) @@
|
| 25 |
|
*/ |
| 26 |
|
private $translator; |
| 27 |
|
|
| 28 |
|
public function __construct( |
| 29 |
|
UrlShortenerInterface $urlShortener, |
| 30 |
|
TranslatorInterface $translator, |
| 31 |
|
LoggerInterface $logger = null |
| 32 |
|
) { |
| 33 |
|
parent::__construct($logger); |
| 34 |
|
$this->urlShortener = $urlShortener; |
| 35 |
|
$this->translator = $translator; |
| 36 |
|
} |
| 37 |
|
|
| 38 |
|
/** |
| 39 |
|
* @param Request $request |