-
Notifications
You must be signed in to change notification settings - Fork 117
PR for Add clear docblock to all classes and interfaces #298
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,11 +9,47 @@ | |
|
||
namespace Zend\Db\TableGateway; | ||
|
||
use Zend\Db\ResultSet\ResultSetInterface; | ||
use Zend\Db\Sql\Where; | ||
|
||
interface TableGatewayInterface | ||
{ | ||
/** | ||
* @return string | ||
*/ | ||
public function getTable(); | ||
|
||
/** | ||
* Select | ||
* | ||
* @param Where|\Closure|string|array $where | ||
|
||
* @return ResultSetInterface | ||
*/ | ||
public function select($where = null); | ||
|
||
/** | ||
* Insert | ||
* | ||
* @param array $set | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add a description here |
||
* @return int | ||
|
||
*/ | ||
public function insert($set); | ||
|
||
/** | ||
* Update | ||
* | ||
* @param array $set | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add a description here |
||
* @param string|array|\Closure $where | ||
|
||
* | ||
* @return int | ||
|
||
*/ | ||
public function update($set, $where = null); | ||
|
||
/** | ||
* Delete | ||
|
||
* | ||
* @param Where|\Closure|string|array $where | ||
* @return int | ||
*/ | ||
public function delete($where); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ArrayIterator
is not really needed - the interfaces cover thatUh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, but it is not in my file at https://github.com/fadoe/zend-db/blob/feature/docblock/src/ResultSet/AbstractResultSet.php#L36
Do you know why it is here?