NearConnectionHandler
in package
Table of Contents
- $category : Category
- $connectedFeaturesCollection : FeaturesCollection
- $currentDataSet : SimpleDataSet|RelatedDataSet|DependentDataSet
- $distance : int|float
- __construct() : mixed
- findNearWithObjectsInConnectedDataSet() : array<string|int, mixed>
- handle() : bool
- isNearWithObjectsInConnectedDataSet() : bool
Properties
$category read-only
private
Category
$category
$connectedFeaturesCollection read-only
private
FeaturesCollection
$connectedFeaturesCollection
$currentDataSet read-only
private
SimpleDataSet|RelatedDataSet|DependentDataSet
$currentDataSet
$distance read-only
private
int|float
$distance
Methods
__construct()
public
__construct(SimpleDataSet|RelatedDataSet|DependentDataSet $currentDataSet, FeaturesCollection $connectedFeaturesCollection, Category $category, int|float $distance) : mixed
Parameters
- $currentDataSet : SimpleDataSet|RelatedDataSet|DependentDataSet
- $connectedFeaturesCollection : FeaturesCollection
- $category : Category
- $distance : int|float
Return values
mixed —findNearWithObjectsInConnectedDataSet()
public
findNearWithObjectsInConnectedDataSet(FeatureEntity $feature) : array<string|int, mixed>
Parameters
- $feature : FeatureEntity
Return values
array<string|int, mixed> —handle()
public
handle(FeatureEntity $feature) : bool
Parameters
- $feature : FeatureEntity
Return values
bool —isNearWithObjectsInConnectedDataSet()
private
isNearWithObjectsInConnectedDataSet(FeatureEntity $feature) : bool
Parameters
- $feature : FeatureEntity