StrategyServiceInterface.php 299 Bytes
<?php

namespace Meibuyu\Rpc\Service\Interfaces\Flow;

interface StrategyServiceInterface
{
    /**
     * 获取对应的策略
     * @param $type
     * @return mixed
     */
    public function getStrategiesByType($type);

    public function getStrategiesByFilter($filters, $relations = []);
}