| 1 | <?php |
||
| 22 | class ContextualDeleteCommand extends TableCommand implements ContextualCommandInterface |
||
| 23 | { |
||
| 24 | use ContextTrait, PrimaryTrait, WhereTrait; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Where conditions (short where format). |
||
| 28 | * |
||
| 29 | * @var array |
||
| 30 | */ |
||
| 31 | private $where = []; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * UpdateCommand constructor. |
||
| 35 | * |
||
| 36 | * @param Table $table |
||
| 37 | * @param array $where |
||
| 38 | * @param array $values |
||
| 39 | */ |
||
| 40 | public function __construct(Table $table, array $where, array $values = []) |
||
| 45 | |||
| 46 | /** |
||
| 47 | * {@inheritdoc} |
||
| 48 | */ |
||
| 49 | public function getDriver() |
||
| 58 | |||
| 59 | /** |
||
| 60 | * {@inheritdoc} |
||
| 61 | */ |
||
| 62 | public function isEmpty(): bool |
||
| 66 | |||
| 67 | /** |
||
| 68 | * Inserting data into associated table. |
||
| 69 | */ |
||
| 70 | public function execute() |
||
| 78 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.