| 1 | <?php |
||
| 7 | class NetworkScriptPrefix |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $privatePrefix; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $publicPrefix; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var ScriptDataFactoryInterface |
||
| 21 | */ |
||
| 22 | private $scriptDataFactory; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * ScriptPrefixConfig constructor. |
||
| 26 | * @param ScriptDataFactoryInterface $scriptDataFactory |
||
| 27 | * @param string $privatePrefix |
||
| 28 | * @param string $publicPrefix |
||
| 29 | */ |
||
| 30 | 1 | public function __construct(ScriptDataFactoryInterface $scriptDataFactory, $privatePrefix, $publicPrefix) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | 1 | public function getPrivatePrefix() |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | 1 | public function getPublicPrefix() |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @return ScriptDataFactoryInterface |
||
| 55 | */ |
||
| 56 | 1 | public function getScriptDataFactory() |
|
| 60 | } |
||
| 61 |