NullSeedProvider.php 406B

12345678910111213141516171819202122
  1. <?php
  2. namespace JMS\SecurityExtraBundle\Security\Util;
  3. /**
  4. * NullSeedProvider implementation.
  5. *
  6. * Never use this for anything but unit testing.
  7. *
  8. * @author Johannes M. Schmitt <schmittjoh@gmail.com>
  9. */
  10. class NullSeedProvider implements SeedProviderInterface
  11. {
  12. public function loadSeed()
  13. {
  14. return array('', new \DateTime());
  15. }
  16. public function updateSeed($seed)
  17. {
  18. }
  19. }