SessionStartChecker.php 497 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\TestFramework\Session;
  8. /**
  9. * Class to check if session can be started or not. Dummy for integration tests.
  10. */
  11. class SessionStartChecker extends \Magento\Framework\Session\SessionStartChecker
  12. {
  13. /**
  14. * Can session be started or not.
  15. *
  16. * @return bool
  17. */
  18. public function check() : bool
  19. {
  20. return true;
  21. }
  22. }