Skip to content

Commit f96bcd2

Browse files
committed
Added support of mask on the table level
1 parent 5907f83 commit f96bcd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TableDefinitions/TableDefinition.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ public function query(callable $callable)
4141
$this->query = $callable;
4242
}
4343

44-
public function mask(string $column)
44+
public function mask(string $column, string $maskCharacter = 'x')
4545
{
46-
$this->columns[$column] = ColumnDefinition::mask($column);
46+
$this->columns[$column] = ColumnDefinition::mask($column, $maskCharacter);
4747

4848
return $this;
4949
}

0 commit comments

Comments
 (0)