4 * This file is part of the Prophecy.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
6 * Marcello Duarte <marcello.duarte@gmail.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Prophecy\Prophecy;
15 * Controllable doubles interface.
17 * @author Konstantin Kudryashov <ever.zet@gmail.com>
19 interface ProphecySubjectInterface
22 * Sets subject prophecy.
24 * @param ProphecyInterface $prophecy
26 public function setProphecy(ProphecyInterface $prophecy);
29 * Returns subject prophecy.
31 * @return ProphecyInterface
33 public function getProphecy();