PageRenderTime 24ms CodeModel.GetById 18ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/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/*
 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}