DirectAccessCommandServiceClient implements CommandServiceClientInterface
Table of Contents
Interfaces
Methods
- __construct() : mixed
- drop() : Result
- Disconnects the users with the identifiers specified in the $userIds parameter from the document editing service.
- rename() : Result
- Renames the document
Methods
__construct()
public
__construct(string $serverUrl, string $secretKey) : mixed
Parameters
- $serverUrl : string
- $secretKey : string
drop()
Disconnects the users with the identifiers specified in the $userIds parameter from the document editing service.
public
drop(string $documentKey, array<string|int, mixed> $userIds) : Result
Parameters
- $documentKey : string
-
Document identifier
- $userIds : array<string|int, mixed>
-
Array of user identifiers
Return values
Resultrename()
Renames the document
public
rename(string $documentKey, string $newName) : Result
Parameters
- $documentKey : string
-
Document identifier
- $newName : string
-
New document name