Documentation

DataSource
in package

A DataSource Singelton to load a DomainObject without a dependency to the actual DataProvider A DataProvider only needs to implement the DataProvider Interface. An example of a DataProvider is the the MapperRegistry

Tags
see
MapperRegistry

Table of Contents

Properties

$instance  : DataSource
The sole instance of the DataSource
$provider  : DataProvider
The Dataprovider object which redirects the load call to the apropriate implementation

Methods

init()  : void
the init method has to be called before using the load() method
load()  : void
The static load() method can be called to load the data into the DomainObject

Properties

$provider

The Dataprovider object which redirects the load call to the apropriate implementation

public DataProvider $provider

Methods


        
On this page

Search results