Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
11 | public function create(string $className): ElasticsearchContext |
||
12 | { |
||
13 | $activityLogIndex = $this->getIndexName($className).'_'.$this->getIndexName(ActivityLog::class); |
||
14 | $currentDataTrackerIndex = $this->getIndexName($className).'_'.$this->getIndexName(CurrentDataTracker::class); |
||
15 | |||
16 | return new ElasticsearchContext($className, $activityLogIndex, $currentDataTrackerIndex); |
||
17 | } |
||
26 |