OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Core\Contract\ClassProviderStorageInterface Interface Reference

Public Member Functions

 get ()
 
 set ($value)
 
 add ($moduleId, $controllers)
 
 remove ($moduleId)
 

Detailed Description

Interface for Handling the storing/loading of the metadata controller field of the modules.

Member Function Documentation

◆ add()

OxidEsales\EshopCommunity\Core\Contract\ClassProviderStorageInterface::add (   $moduleId,
  $controllers 
)

Add the controllers for the module, given by its ID, to the storage.

Parameters
string$moduleIdThe ID of the module controllers to add.
array$controllersThe controllers to add to the storage.

◆ get()

OxidEsales\EshopCommunity\Core\Contract\ClassProviderStorageInterface::get ( )

Get the stored controller value from the storage.

Returns
array The controllers field of the modules metadata.

◆ remove()

OxidEsales\EshopCommunity\Core\Contract\ClassProviderStorageInterface::remove (   $moduleId)

Delete the controllers for the module, given by its ID, from the storage.

Parameters
string$moduleIdThe ID of the module, for which we want to delete the controllers from the storage.

◆ set()

OxidEsales\EshopCommunity\Core\Contract\ClassProviderStorageInterface::set (   $value)

Set the stored controller value from the storage.

Parameters
array$valueThe controllers field of the modules metadata.

The documentation for this interface was generated from the following file: