$sql->tableName()
Validates and quotes a table name
$sql->tableName(string $table): string
Parameters
Name | Type | Default |
---|---|---|
$tablerequired | string |
no default value |
Return type
string
This method modifies the existing $sql
object it is applied to and returns it again.
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |
if an invalid table name is given |