AvailabilityService

Namespace

IO\Services

Properties
Type Name Description

AvailabilityRepositoryContract

$availabilityRepository

Methods
public __construct($availabilityRepository)

AvailabilityService constructor.

Parameters

Type

Name

Description

AvailabilityRepositoryContract

$availabilityRepository

public getAvailabilityById($availabilityId):Availability

Get the item availability by ID

Parameters

Type

Name

Description

int

$availabilityId

public getAvailabilities():array