-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from dschoenbauer/develop
v1.1.1
- Loading branch information
Showing
6 changed files
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,10 +35,9 @@ | |
* @author David Schoenbauer <[email protected]> | ||
* @since v1.0.0 | ||
*/ | ||
class Create implements CommandInterface | ||
class Create extends AbstractCommand | ||
{ | ||
|
||
use ErrorTrait; | ||
|
||
private $table; | ||
private $data; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,12 +35,11 @@ | |
* | ||
* @author David Schoenbauer <[email protected]> | ||
*/ | ||
class Delete implements CommandInterface | ||
class Delete extends AbstractCommand | ||
{ | ||
|
||
private $table; | ||
|
||
use ErrorTrait; | ||
use WhereTrait; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ | |
* retrieves data from a PDO connected resource | ||
* @author David Schoenbauer <[email protected]> | ||
*/ | ||
class Select implements CommandInterface | ||
class Select extends AbstractCommand | ||
{ | ||
|
||
private $table; | ||
|
@@ -45,7 +45,6 @@ class Select implements CommandInterface | |
private $fetchFlat = false; | ||
private $defaultValue = []; | ||
|
||
use ErrorTrait; | ||
use WhereTrait; | ||
|
||
/** | ||
|
@@ -73,6 +72,7 @@ public function __construct( | |
) { | ||
|
||
|
||
|
||
$this->setTable($table) | ||
->setFields($fields) | ||
->setFetchStyle($fetchStyle) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,13 +36,12 @@ | |
* @author David Schoenbauer <[email protected]> | ||
* @since v1.0.0 | ||
*/ | ||
class Update implements CommandInterface | ||
class Update extends AbstractCommand | ||
{ | ||
|
||
private $table; | ||
private $data = []; | ||
|
||
use ErrorTrait; | ||
use WhereTrait; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters