You are here

interface ProphecySubjectInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/src/Prophecy/Prophecy/ProphecySubjectInterface.php \Prophecy\Prophecy\ProphecySubjectInterface

Controllable doubles interface.

@author Konstantin Kudryashov <ever.zet@gmail.com>

Hierarchy

Expanded class hierarchy of ProphecySubjectInterface

All classes that implement ProphecySubjectInterface

File

vendor/phpspec/prophecy/src/Prophecy/Prophecy/ProphecySubjectInterface.php, line 19

Namespace

Prophecy\Prophecy
View source
interface ProphecySubjectInterface {

  /**
   * Sets subject prophecy.
   *
   * @param ProphecyInterface $prophecy
   */
  public function setProphecy(ProphecyInterface $prophecy);

  /**
   * Returns subject prophecy.
   *
   * @return ProphecyInterface
   */
  public function getProphecy();

}

Members

Namesort descending Modifiers Type Description Overrides
ProphecySubjectInterface::getProphecy public function Returns subject prophecy.
ProphecySubjectInterface::setProphecy public function Sets subject prophecy.