Oihana PHP System

ListModelTrait

Defines a ListModel properties in your class.

Tags
author

Marc Alcaraz (ekameleon)

since
1.0.0

Table of Contents

Properties

$list  : ListModel|null
The product sources reference.

Methods

assertListModel()  : void
Asserts the existence of the `list` property.
initializeListModel()  : static
Initialize the list model reference.

Properties

Methods

assertListModel()

Asserts the existence of the `list` property.

protected assertListModel() : void
Tags
throws
UnexpectedValueException

If the list property is not set.

initializeListModel()

Initialize the list model reference.

protected initializeListModel([array<string|int, mixed> $init = [] ][, ContainerInterface|null $container = null ]) : static
Parameters
$init : array<string|int, mixed> = []
$container : ContainerInterface|null = null
Tags
throws
ContainerExceptionInterface
throws
NotFoundExceptionInterface
Return values
static

        
On this page

Search results