From c133111f5e7ce9b69d379d74e82f68f71397130d Mon Sep 17 00:00:00 2001 From: Simon 'Firesphere' Erkelens Date: Sun, 22 Dec 2019 12:58:11 +1300 Subject: [PATCH] Updated API docs --- src/Traits/IndexTraits/SolrIndexTrait.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Traits/IndexTraits/SolrIndexTrait.php b/src/Traits/IndexTraits/SolrIndexTrait.php index 6a0e3699..1a42bf6d 100644 --- a/src/Traits/IndexTraits/SolrIndexTrait.php +++ b/src/Traits/IndexTraits/SolrIndexTrait.php @@ -68,6 +68,8 @@ public function setDebug(bool $debug): self } /** + * Get the Index class. + * * @return BaseIndex */ public function getIndex(): BaseIndex @@ -76,6 +78,8 @@ public function getIndex(): BaseIndex } /** + * Set the index class + * * @param BaseIndex $index */ public function setIndex(BaseIndex $index): void @@ -84,6 +88,8 @@ public function setIndex(BaseIndex $index): void } /** + * Get the amount of CPU Cores configured + * * @return int */ public function getCores(): int @@ -92,6 +98,8 @@ public function getCores(): int } /** + * Set the amount of CPU Cores to use + * * @param int $cores */ public function setCores(int $cores): void @@ -100,6 +108,8 @@ public function setCores(int $cores): void } /** + * Get the length of a single batch + * * @return int */ public function getBatchLength(): int @@ -108,6 +118,8 @@ public function getBatchLength(): int } /** + * Set the length of a single batch + * * @param int $batchLength */ public function setBatchLength(int $batchLength): void