<?php
/**
 * @author        Michael Collette <mcollette@meetingevolution.net>
 * @version       1.0
 * @package       Metrol/DBSql
 * @copyright (c) 2016, Michael Collette
 */

namespace Metrol\DBSql;

/**
 * Describes objects that provide where clauses
 *
 */
interface WhereInterface
{
    /**
     * Produce the text of the clause
     *
     * @return string
     */
    public function output();

    /**
     * Fetch any bindings that may have been used
     *
     * @return array
     */
    public function getBindings();
}

Create a new interface to define a Where clause
Create a new interface to define a Where clause

This will be used to specify both the parent WHERE as well as the more
specific types of where clauses.

issue #1
