File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
src/Magento/FunctionalTestingFramework/DataGenerator/Persist/Curl Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ abstract class AbstractExecutor implements CurlInterface
20
20
*/
21
21
protected static $ baseUrl = null ;
22
22
23
+ /**
24
+ * Returns base URL for Magento instance
25
+ * @return string
26
+ */
23
27
public function getBaseUrl (): string
24
28
{
25
29
return getenv ('MAGENTO_BASE_URL ' );
Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ public function __construct($removeBackend)
56
56
$ this ->authorize ();
57
57
}
58
58
59
+ /**
60
+ * Returns base URL for Magento backend instance
61
+ * @return string
62
+ */
59
63
public function getBaseUrl (): string
60
64
{
61
65
$ backendHost = getenv ('MAGENTO_BACKEND_BASE_URL ' ) ?: parent ::getBaseUrl ();
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function __construct($storeCode = null)
65
65
}
66
66
67
67
/**
68
- * Returns WebApi base URL, fallback to Magento Base URL
68
+ * Returns base URL for Magento Web API instance
69
69
* @return string
70
70
*/
71
71
public function getBaseUrl (): string
You can’t perform that action at this time.
0 commit comments