concrete/src/Http/Middleware/ThumbnailMiddleware.php
private function markThumbnailAsBuilt(Connection $connection, array $thumbnail, $built = true)
    {
        $key = $thumbnail;
        unset($key['lockID']);
        unset($key['lockExpires']);
        unset($key['path']);
        unset($key['isBuilt']);
        $connection->update('FileImageThumbnailPaths', ['isBuilt' => $built ? 1 : 0], $key);
    }
private function markThumbnailAsBuilt(Connection $connection, array $thumbnail, $built = true)
    {
        $key = $thumbnail;
        unset($key['lockID']);
        unset($key['lockExpires']);
        unset($key['path']);
        unset($key['isBuilt']);
        $connection->update('FileImageThumbnailPaths', ['isBuilt' => $built ? 1 : 0], $key);
    }
private function markThumbnailAsBuilt ( Connection $ connection , array $ thumbnail , $ built = true ) { $ key = $ thumbnail ; unset ( $ key [ 'lockID' ] ) ; unset ( $ key [ 'lockExpires' ] ) ; unset ( $ key [ 'path' ] ) ; unset ( $ key [ 'isBuilt' ] ) ; $ connection -> update ( 'FileImageThumbnailPaths' , [ 'isBuilt' => $ built ? 1 : 0 ] , $ key ) ; }
Mark a thumbnail as built or not.

@param Connection $connection
@param array $thumbnail
@param bool $built
Mark a thumbnail as built or not .