GlobalItemTypeDictionary
in package
Uses
SingletonTrait
Table of Contents
- $dictionary : ItemTypeDictionary
- $instance : self|null
- __construct() : mixed
- getDictionary() : ItemTypeDictionary
- getInstance() : self
- reset() : void
- setInstance() : void
- make() : self
Properties
$dictionary
private
ItemTypeDictionary
$dictionary
$instance
private
static self|null
$instance
= null
Methods
__construct()
public
__construct(ItemTypeDictionary $dictionary) : mixed
Parameters
- $dictionary : ItemTypeDictionary
Return values
mixed —getDictionary()
public
getDictionary() : ItemTypeDictionary
Return values
ItemTypeDictionary —getInstance()
public
static getInstance() : self
Return values
self —reset()
public
static reset() : void
Return values
void —setInstance()
public
static setInstance(self $instance) : void
Parameters
- $instance : self
Return values
void —make()
private
static make() : self