Property | Type | Description | |
---|---|---|---|
$dbservice | |||
$depends | |||
$description | |||
$ignoreChanges | |||
$uuid |
Method | Description | |
---|---|---|
__construct ( SplFileInfo $fileInfo, ArrayObject $collection ) | UpdateCrypto | |
getNumberStages ( ) | ||
recrypt ( string $table, string[] $fields, string $where = '', string[] $pks = ['id'], Scalr\Util\CryptoTool $source = null ) : integer | Reencrypts specified fields | |
rollback ( $code, $message ) |
Method | Description | |
---|---|---|
isApplied1 ( $stage ) | ||
run1 ( $stage ) | ||
validateBefore1 ( $stage ) |
public __construct ( SplFileInfo $fileInfo, ArrayObject $collection ) | ||
$fileInfo | SplFileInfo | |
$collection | ArrayObject |
public recrypt ( string $table, string[] $fields, string $where = '', string[] $pks = ['id'], Scalr\Util\CryptoTool $source = null ) : integer | ||
$table | string | Table name |
$fields | string[] | Fields name |
$where | string | WHERE statement for SELECT query |
$pks | string[] | Primary keys names |
$source | Scalr\Util\CryptoTool | |
return | integer | Returns number of affected rows |