EstateListMocker
in package
implements
EstateListBase
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $_currentEstateId : int
- $_estateData : array<string|int, mixed>
- $_formatOutput : bool
- $_methodCalls : array<string|int, mixed>
- $_pDataView : DataView
- $_pDefaultFilterBuilder : DefaultFilterBuilder
- $_pGeoSearchBuilder : GeoSearchBuilder
- $_shuffleResult : bool
- __construct() : mixed
- assertAmountOfMethodCalls() : bool
- estateIterator() : ArrayContainer|bool
- getCurrentEstateId() : int
- getCurrentMultiLangEstateMainId() : int
- getDataView() : DataView
- getDefaultFilterBuilder() : DefaultFilterBuilder
- getEstateIds() : array<string|int, mixed>
- getFormatOutput() : bool
- getGeoSearchBuilder() : GeoSearchBuilder
- getShuffleResult() : bool
- loadEstates() : mixed
- performs the request
- resetEstateIterator() : mixed
- resets internal iterator handle
- setDefaultFilterBuilder() : mixed
- setEstateData() : mixed
- setFormatOutput() : mixed
- setGeoSearchBuilder() : mixed
- setShuffleResult() : mixed
- wasMethodCalled() : bool
- registerMethodCall() : mixed
Properties
$_currentEstateId
private
int
$_currentEstateId
= 0
$_estateData
private
array<string|int, mixed>
$_estateData
= []
$_formatOutput
private
bool
$_formatOutput
= true
$_methodCalls
private
array<string|int, mixed>
$_methodCalls
= []
$_pDataView
private
DataView
$_pDataView
= null
$_pDefaultFilterBuilder
private
DefaultFilterBuilder
$_pDefaultFilterBuilder
= null
$_pGeoSearchBuilder
private
GeoSearchBuilder
$_pGeoSearchBuilder
= null
$_shuffleResult
private
bool
$_shuffleResult
= false
Methods
__construct()
public
__construct(DataView $pDataView) : mixed
Parameters
- $pDataView : DataView
Return values
mixed —assertAmountOfMethodCalls()
public
assertAmountOfMethodCalls(string $methodName, int $amount) : bool
Parameters
- $methodName : string
- $amount : int
Return values
bool —estateIterator()
public
estateIterator() : ArrayContainer|bool
Return values
ArrayContainer|bool —getCurrentEstateId()
public
getCurrentEstateId() : int
Return values
int —getCurrentMultiLangEstateMainId()
public
getCurrentMultiLangEstateMainId() : int
Return values
int —getDataView()
public
getDataView() : DataView
Return values
DataView —getDefaultFilterBuilder()
public
getDefaultFilterBuilder() : DefaultFilterBuilder
Return values
DefaultFilterBuilder —getEstateIds()
public
getEstateIds() : array<string|int, mixed>
Return values
array<string|int, mixed> —getFormatOutput()
public
getFormatOutput() : bool
Return values
bool —getGeoSearchBuilder()
public
getGeoSearchBuilder() : GeoSearchBuilder
Return values
GeoSearchBuilder —getShuffleResult()
public
getShuffleResult() : bool
Return values
bool —loadEstates()
performs the request
public
loadEstates() : mixed
Return values
mixed —resetEstateIterator()
resets internal iterator handle
public
resetEstateIterator() : mixed
Return values
mixed —setDefaultFilterBuilder()
public
setDefaultFilterBuilder(DefaultFilterBuilder $pDefaultFilterBuilder) : mixed
Parameters
- $pDefaultFilterBuilder : DefaultFilterBuilder
Return values
mixed —setEstateData()
public
setEstateData(array<string|int, mixed> $estateData) : mixed
Parameters
- $estateData : array<string|int, mixed>
-
An array of arrays of estate records
Return values
mixed —setFormatOutput()
public
setFormatOutput(bool $formatOutput) : mixed
Parameters
- $formatOutput : bool
Return values
mixed —setGeoSearchBuilder()
public
setGeoSearchBuilder(GeoSearchBuilder $pGeoSearchBuilder) : mixed
Parameters
- $pGeoSearchBuilder : GeoSearchBuilder
Return values
mixed —setShuffleResult()
public
setShuffleResult(bool $shuffleResult) : mixed
Parameters
- $shuffleResult : bool
Return values
mixed —wasMethodCalled()
public
wasMethodCalled(string $methodName) : bool
Parameters
- $methodName : string
Return values
bool —registerMethodCall()
private
registerMethodCall(string $methodName) : mixed
Parameters
- $methodName : string