Stub.php 485 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Pricing\Test\Unit\Price;
  7. use Magento\Framework\Pricing\Price\AbstractPrice;
  8. /**
  9. * Class Stub for testing abstract class AbstractPrice
  10. *
  11. */
  12. class Stub extends AbstractPrice
  13. {
  14. /**
  15. * Get price value
  16. *
  17. * @return float
  18. */
  19. public function getValue()
  20. {
  21. $examplePrice = 77.0;
  22. return $examplePrice;
  23. }
  24. }