MyTaskDto
in package
Simple DTO class for testing data serialization in Queue jobs
Table of Contents
Properties
- $data : array<string, mixed>
Methods
- __construct() : mixed
- toArray() : array<string, mixed>
- Convert DTO to array for storage
Properties
$data
protected
array<string, mixed>
$data
Methods
__construct()
public
__construct(array<string, mixed> $data) : mixed
Parameters
- $data : array<string, mixed>
-
Data to store
toArray()
Convert DTO to array for storage
public
toArray() : array<string, mixed>