/vendor/phpspec/prophecy/src/Prophecy/Prophecy/ProphecySubjectInterface.php

https://bitbucket.org/alan_cordova/api-sb-map · PHP · 34 lines · 7 code · 4 blank · 23 comment · 0 complexity · 7c766011d2b710488d762dad88591ed4 MD5 · raw file

  1. <?php
  2. /*
  3. * This file is part of the Prophecy.
  4. * (c) Konstantin Kudryashov <ever.zet@gmail.com>
  5. * Marcello Duarte <marcello.duarte@gmail.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Prophecy\Prophecy;
  11. /**
  12. * Controllable doubles interface.
  13. *
  14. * @author Konstantin Kudryashov <ever.zet@gmail.com>
  15. */
  16. interface ProphecySubjectInterface
  17. {
  18. /**
  19. * Sets subject prophecy.
  20. *
  21. * @param ProphecyInterface $prophecy
  22. */
  23. public function setProphecy(ProphecyInterface $prophecy);
  24. /**
  25. * Returns subject prophecy.
  26. *
  27. * @return ProphecyInterface
  28. */
  29. public function getProphecy();
  30. }