Blesta Source Documentation

ItemCreatorInterface

Item creator interface

Table of Contents

Methods

make() Combines an item and fields
makeItem() Creates an item
Methods

make()

Combines an item and fields

public make(string $method, stdClass $fields) : mixed
Parameters
$method : string

The method to call for matching fields

$fields : stdClass

An stdClass object representing the object data fields

makeItem()

Creates an item

public makeItem(stdClass|array<string|int, mixed> $fields) : mixed
Parameters
$fields : stdClass|array<string|int, mixed>

A set of fields to include on the item

Tags
subpackage

core.Pricing.Presenter.Format.Type.Item

copyright

Copyright (c) 2019, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results