InterceptedParent.php 579 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Framework\Interception\Fixture;
  8. /**
  9. * @codingStandardsIgnoreStart
  10. */
  11. class InterceptedParent implements InterceptedParentInterface
  12. {
  13. /**
  14. * @SuppressWarnings(PHPMD.ShortMethodName)
  15. */
  16. public function A($param1)
  17. {
  18. return 'A' . $param1 . 'A';
  19. }
  20. /**
  21. * @SuppressWarnings(PHPMD.ShortMethodName)
  22. */
  23. public function B($param1, $param2)
  24. {
  25. return $param1 . $param2 . $this->A($param1);
  26. }
  27. }