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