<?php
/**
 * AdapterInterface.php
 *
 * @package silex-manager
 * @author  Jefersson Nathan <malukenho@phpse.net>
 */

<?php

namespace Manager\Db\Adapter;

use Manager\Config\Node;

interface AdapterInterface
{
    public function whereLike($name, $value);
    public function fetch($query, $column = null);
    public function fetchAll($sql, $params = []);
    public function fetchByConfig(Node $config, $pagination);
    public function limit($total, $itemPerPage, $page);
    public function count(Node $config);
}

Update interface with methods used to work with silex manage
Update interface with methods used to work with silex manage
