Skip to content

Commit

Permalink
Updated API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Firesphere committed Dec 21, 2019
1 parent 7949fe8 commit c133111
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Traits/IndexTraits/SolrIndexTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ public function setDebug(bool $debug): self
}

/**
* Get the Index class.
*
* @return BaseIndex
*/
public function getIndex(): BaseIndex
Expand All @@ -76,6 +78,8 @@ public function getIndex(): BaseIndex
}

/**
* Set the index class
*
* @param BaseIndex $index
*/
public function setIndex(BaseIndex $index): void
Expand All @@ -84,6 +88,8 @@ public function setIndex(BaseIndex $index): void
}

/**
* Get the amount of CPU Cores configured
*
* @return int
*/
public function getCores(): int
Expand All @@ -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
Expand All @@ -100,6 +108,8 @@ public function setCores(int $cores): void
}

/**
* Get the length of a single batch
*
* @return int
*/
public function getBatchLength(): int
Expand All @@ -108,6 +118,8 @@ public function getBatchLength(): int
}

/**
* Set the length of a single batch
*
* @param int $batchLength
*/
public function setBatchLength(int $batchLength): void
Expand Down

0 comments on commit c133111

Please sign in to comment.