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\Promise;
14 use Prophecy\Prophecy\ObjectProphecy;
15 use Prophecy\Prophecy\MethodProphecy;
19 * Promises are logical blocks, tied to `will...` keyword.
21 * @author Konstantin Kudryashov <ever.zet@gmail.com>
23 interface PromiseInterface
29 * @param ObjectProphecy $object
30 * @param MethodProphecy $method
34 public function execute(array $args, ObjectProphecy $object, MethodProphecy $method);