| 1 | <?php |
||
| 11 | class RunnableInsert extends Insert implements DDLPreparable { |
||
| 12 | use CreateDDLRunnable; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param MySQL $db |
||
| 16 | * @param array $options |
||
| 17 | */ |
||
| 18 | public function __construct(MySQL $db, array $options = []) { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param array|Traversable $rows |
||
| 24 | * @return int[] Insert IDs |
||
| 25 | */ |
||
| 26 | public function insertRows($rows) { |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return DDLRunnable |
||
| 43 | */ |
||
| 44 | public function prepare() { |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param array $params |
||
| 52 | * @return int |
||
| 53 | * @throws Exception |
||
| 54 | */ |
||
| 55 | public function run(array $params = array()) { |
||
| 58 | } |
||
| 59 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.