Skip to content

Commit f67baed

Browse files
authored
Improve Extensibility of Service URL Generation
There are some legitimate cases for wanting to customise this function. Let's encourage people to do so in a more maintainable way i.e. via plugins instead of preferences.
1 parent af9ab20 commit f67baed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Store/Model/Argument/Interpreter/ServiceUrl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function __construct(
6565
*
6666
* @return string
6767
*/
68-
private function getServiceUrl()
68+
public function getServiceUrl()
6969
{
7070
$store = $this->storeRepository->getById($this->storeManager->getStore()->getId());
7171
return $this->url->getUrl(

0 commit comments

Comments
 (0)