<?php
/**
 * @license    License compatible with GNU General Public License (GNU GPL); see file LICENSE
 */


namespace GuzzleHttp\Promise;

defined('_JEXEC') or die('Restricted access');


/**
 * Interface used with classes that return a promise.
 */
interface PromisorInterface
{
    /**
     * Returns a promise.
     *
     * @return PromiseInterface
     */
    public function promise();
}
