| 1 | <?php |
||
| 12 | class Delete implements Query |
||
| 13 | { |
||
| 14 | use |
||
| 15 | EscaperAware, |
||
| 16 | Builders\Join, |
||
| 17 | Builders\Where, |
||
| 18 | Builders\OrderBy, |
||
| 19 | Builders\Limit; |
||
| 20 | |||
| 21 | private |
||
| 22 | $from; |
||
|
1 ignored issue
–
show
|
|||
| 23 | |||
| 24 | /** |
||
| 25 | * @param TableName|string $table |
||
| 26 | */ |
||
| 27 | 7 | public function __construct($table = null, ?string $alias = null) |
|
| 37 | |||
| 38 | 7 | public function toString(): string |
|
| 51 | |||
| 52 | /** |
||
| 53 | * @param TableName|string $table |
||
| 54 | */ |
||
| 55 | 6 | public function from($table, ?string $alias = null): self |
|
| 61 | |||
| 62 | 7 | private function buildFrom(): string |
|
| 71 | } |
||
| 72 |
The PSR-2 coding standard requires that all properties in a class have their visibility explicitly declared. If you declare a property using
the property is implicitly global.
To learn more about the PSR-2, please see the PHP-FIG site on the PSR-2.