AuthorizationMock.php 443 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\WebapiAsync\Model;
  7. use Magento\Framework\Webapi\Authorization;
  8. class AuthorizationMock extends Authorization
  9. {
  10. /**
  11. * @param string[] $aclResources
  12. * @return bool
  13. * @SuppressWarnings(PHPMD.UnusedFormalParameter)
  14. */
  15. public function isAllowed($aclResources)
  16. {
  17. return true;
  18. }
  19. }