CreatePhoto
in package
Uses
Dispatchable
Table of Contents
Properties
Methods
- __construct() : mixed
- CreatePhoto constructor.
- addResponse() : void
- getModuleId() : string
- getResponse() : array<string, mixed>
- getTargetId() : int
Properties
$moduleId
private
string
$moduleId
$response
private
array<string, mixed>
$response
$targetId
private
int
$targetId
Methods
__construct()
CreatePhoto constructor.
public
__construct(string $moduleId, int $targetId) : mixed
Parameters
- $moduleId : string
- $targetId : int
addResponse()
public
addResponse(string $moduleId, int $targetId, int $privacy, int $parentUserId) : void
Parameters
- $moduleId : string
-
- module name: groups, pages v.v...
- $targetId : int
-
- module item id.
- $privacy : int
- $parentUserId : int
-
- module item id
getModuleId()
public
getModuleId() : string
Return values
stringgetResponse()
public
getResponse() : array<string, mixed>
Return values
array<string, mixed>getTargetId()
public
getTargetId() : int