Skip to content

Commit

Permalink
added where clause to tables
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Green committed Sep 4, 2015
1 parent 83aa547 commit 95b03e3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/WhereClause.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php namespace DbSync;

class WhereClause {

private $where;

private $bindings;

public function __construct($where, array $bindings = array())
{
$this->where = $where;

$this->bindings = $bindings;
}

public function getWhere()
{
return $this->where;
}

public function getBindings()
{
return $this->bindings;
}
}

0 comments on commit 95b03e3

Please sign in to comment.