OrderTemplateResource

Namespace

IO\Api\Resources

Extends
Properties
Type Name Description

OrderRepositoryContract

$orderRepository

TemplateService

$templateService

Methods
public __construct($request, $response, $orderRepository, $templateService)

OrderTemplateResource constructor.

Parameters

Type

Name

Description

Request

$request

ApiResponse

$response

OrderRepositoryContract

$orderRepository

TemplateService

$templateService

public index(): Response

Return the given rendered order template