SYMBOL INDEX (55 symbols across 9 files) FILE: src/Exception.php class Exception (line 12) | class Exception extends \Exception FILE: src/Flexihash.php class Flexihash (line 15) | class Flexihash method __construct (line 73) | public function __construct(HasherInterface $hasher = null, $replicas ... method addTarget (line 87) | public function addTarget($target, $weight = 1) method addTargets (line 115) | public function addTargets($targets, $weight = 1) method removeTarget (line 131) | public function removeTarget($target) method getAllTargets (line 153) | public function getAllTargets(): array method lookup (line 164) | public function lookup($resource): string method lookupList (line 183) | public function lookupList($resource, $requestedCount): array method __toString (line 245) | public function __toString(): string method sortPositionTargets (line 260) | private function sortPositionTargets() FILE: src/Hasher/Crc32Hasher.php class Crc32Hasher (line 13) | class Crc32Hasher implements HasherInterface method hash (line 15) | public function hash($string): int FILE: src/Hasher/HasherInterface.php type HasherInterface (line 12) | interface HasherInterface method hash (line 23) | public function hash($string); FILE: src/Hasher/Md5Hasher.php class Md5Hasher (line 12) | class Md5Hasher implements HasherInterface method hash (line 28) | public function hash($string) FILE: tests/BenchmarkTest.php class BenchmarkTest (line 17) | class BenchmarkTest extends \PHPUnit\Framework\TestCase method dump (line 22) | public function dump($message): void method testAddTargetWithNonConsistentHash (line 27) | public function testAddTargetWithNonConsistentHash(): void method testRemoveTargetWithNonConsistentHash (line 52) | public function testRemoveTargetWithNonConsistentHash(): void method testHopeAddingTargetDoesNotChangeMuchWithCrc32Hasher (line 77) | public function testHopeAddingTargetDoesNotChangeMuchWithCrc32Hasher()... method testHopeRemovingTargetDoesNotChangeMuchWithCrc32Hasher (line 111) | public function testHopeRemovingTargetDoesNotChangeMuchWithCrc32Hasher... method testHashDistributionWithCrc32Hasher (line 145) | public function testHashDistributionWithCrc32Hasher(): void method testHasherSpeed (line 175) | public function testHasherSpeed(): void method basicHash (line 204) | private function basicHash($value, $targets):int method median (line 213) | private function median($values):int FILE: tests/FlexihashTest.php class FlexihashTest (line 14) | class FlexihashTest extends \PHPUnit\Framework\TestCase method testGetAllTargetsEmpty (line 16) | public function testGetAllTargetsEmpty(): void method testAddTargetThrowsExceptionOnDuplicateTarget (line 22) | public function testAddTargetThrowsExceptionOnDuplicateTarget(): void method testAddTargetAndGetAllTargets (line 30) | public function testAddTargetAndGetAllTargets(): void method testAddTargetsAndGetAllTargets (line 42) | public function testAddTargetsAndGetAllTargets(): void method testRemoveTarget (line 51) | public function testRemoveTarget(): void method testRemoveTargetFailsOnMissingTarget (line 63) | public function testRemoveTargetFailsOnMissingTarget(): void method testHashSpaceRepeatableLookups (line 70) | public function testHashSpaceRepeatableLookups(): void method testHashSpaceLookupListEmpty (line 81) | public function testHashSpaceLookupListEmpty(): void method testHashSpaceLookupListNoTargets (line 87) | public function testHashSpaceLookupListNoTargets(): void method testHashSpaceLookupListNo (line 95) | public function testHashSpaceLookupListNo(): void method testHashSpaceLookupsAreValidTargets (line 103) | public function testHashSpaceLookupsAreValidTargets(): void method testHashSpaceConsistentLookupsAfterAddingAndRemoving (line 121) | public function testHashSpaceConsistentLookupsAfterAddingAndRemoving()... method testHashSpaceConsistentLookupsWithNewInstance (line 150) | public function testHashSpaceConsistentLookupsWithNewInstance(): void method testGetMultipleTargets (line 173) | public function testGetMultipleTargets(): void method testGetMultipleTargetsWithOnlyOneTarget (line 187) | public function testGetMultipleTargetsWithOnlyOneTarget(): void method testGetMoreTargetsThanExist (line 199) | public function testGetMoreTargetsThanExist(): void method testGetMultipleTargetsNeedingToLoopToStart (line 212) | public function testGetMultipleTargetsNeedingToLoopToStart(): void method testGetMultipleTargetsWithoutGettingAnyBeforeLoopToStart (line 238) | public function testGetMultipleTargetsWithoutGettingAnyBeforeLoopToSta... method testGetMultipleTargetsWithoutNeedingToLoopToStart (line 258) | public function testGetMultipleTargetsWithoutNeedingToLoopToStart(): void method testFallbackPrecedenceWhenServerRemoved (line 278) | public function testFallbackPrecedenceWhenServerRemoved(): void method testHashSpaceToString (line 322) | public function testHashSpaceToString(): void FILE: tests/Hasher/HasherTest.php class HasherTest (line 13) | class HasherTest extends \PHPUnit\Framework\TestCase method testCrc32Hash (line 15) | public function testCrc32Hash(): void method testMd5Hash (line 26) | public function testMd5Hash(): void FILE: tests/Hasher/MockHasher.php class MockHasher (line 12) | class MockHasher implements HasherInterface method setHashValue (line 16) | public function setHashValue($hash): void method hash (line 21) | public function hash($value)