xprt64/cqrs-es

View on GitHub
src/Dudulina/Query/AskerResolver.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * Copyright (c) 2018. Constantin Galbenu <xprt64@gmail.com> Toate drepturile rezervate. All rights reserved.
 */

declare(strict_types=1);
namespace Dudulina\Query;

use Dudulina\Query\Answerer\MethodDescriptor;

interface AskerResolver
{
    /**
     * @param $question
     * @return MethodDescriptor[]
     */
    public function findAskers($question):array;

    public function findAskerNotifyMethod($asker, $question): MethodDescriptor;
}