forked from PrestaShop/PrestaShop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refacto WebserviceController based on PrestaShopAdminController
- Loading branch information
1 parent
559b32d
commit 42a1e14
Showing
7 changed files
with
157 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
210 changes: 113 additions & 97 deletions
210
src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/WebserviceController.php
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 11 additions & 3 deletions
14
src/PrestaShopBundle/Resources/config/services/core/webservice.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
services: | ||
_defaults: | ||
public: true | ||
public: false | ||
|
||
prestashop.core.webservice.server_requirements_checker: | ||
class: 'PrestaShop\PrestaShop\Core\Webservice\ServerRequirementsChecker' | ||
PrestaShop\PrestaShop\Core\Webservice\ServerRequirementsChecker: | ||
arguments: | ||
- '@translator' | ||
- '@prestashop.adapter.legacy.configuration' | ||
- '@prestashop.adapter.hosting_information' | ||
- '@prestashop.core.configuration.php_extension_checker' | ||
|
||
PrestaShop\PrestaShop\Core\Webservice\ServerRequirementsCheckerInterface: '@PrestaShop\PrestaShop\Core\Webservice\ServerRequirementsChecker' | ||
|
||
prestashop.core.webservice.server_requirements_checker: | ||
public: true | ||
alias: 'PrestaShop\PrestaShop\Core\Webservice\ServerRequirementsChecker' | ||
deprecated: | ||
package: PrestaShop\PrestaShop | ||
version: 9.0 |