Blesta Source Documentation

MetaItemInterface

Meta item interface

Table of Contents

Methods

attach() Attaches the given item
detach() Detaches the given item
meta() Retrieves all attached meta items
Methods

attach()

Attaches the given item

public attach(ItemInterface $item) : mixed
Parameters
$item : ItemInterface

The Item to add

detach()

Detaches the given item

public detach(ItemInterface $item) : mixed
Parameters
$item : ItemInterface

The Item to remove

meta()

Retrieves all attached meta items

public meta() : ItemCollection
Return values
ItemCollection

A collection containing the items

Tags
subpackage

core.Pricing.MetaItem

copyright

Copyright (c) 2019, Phillips Data, Inc.

license

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

link

Blesta


        
On this page

Search results