<?php

namespace Comitium5\DesignerBundle\Model\Interfaces;

/**
 * Interface SearchableRepositoryInterface
 *
 * @author Carles Gómez <carles@bab-soft.com>
 * @package Comitium5\DesignerBundle\Model\Interfaces
 */
interface SearchableRepositoryInterface
{
    /**
     * @param $term
     * @param array $params
     *
     * @return mixed
     */
    public function search($term, array $params = []);
}
