CoreApiInterface.php 730 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\ViewModel;
  6. use Temando\Shipping\ViewModel\DataProvider\CoreApiAccessInterface;
  7. /**
  8. * M2 API Access Details Provider Interface
  9. *
  10. * All view models that provide access to the M2 Core API must implement this.
  11. *
  12. * @package Temando\Shipping\ViewModel
  13. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  14. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  15. * @link http://www.temando.com/
  16. */
  17. interface CoreApiInterface
  18. {
  19. /**
  20. * @return CoreApiAccessInterface
  21. */
  22. public function getCoreApiAccess(): CoreApiAccessInterface;
  23. }