ServiceVariation
in package
Tags
Table of Contents
- $duration : int
- $employeeId : int
- $maxCapacity : int
- $minCapacity : int
- $price : float
- __construct() : mixed
- toArray() : array<string|int, mixed>
Properties
$duration
public
int
$duration
Tags
$employeeId
public
int
$employeeId
Tags
$maxCapacity
public
int
$maxCapacity
Tags
$minCapacity
public
int
$minCapacity
Tags
$price
public
float
$price
Tags
Methods
__construct()
public
__construct([array<string|int, mixed> $args = [] ]) : mixed
Parameters
- $args : array<string|int, mixed> = []
-
Optional. @param int $args['employee'] @param float $args['price'] @param int $args['duration'] @param int $args['min_capacity'] @param int $args['max_capacity']
Tags
Return values
mixed —toArray()
public
toArray() : array<string|int, mixed>