SYMBOL INDEX (182 symbols across 18 files) FILE: src/Cache/Cache.php class Cache (line 18) | class Cache implements CacheInterface method get (line 26) | public function get(string $key, mixed $default = null): mixed method set (line 45) | public function set(string $key, mixed $value, int|DateInterval|null $... method delete (line 68) | public function delete(string $key): bool method deleteSingle (line 82) | private function deleteSingle(string $key): void method clear (line 88) | public function clear(): bool method has (line 99) | public function has(string $key): bool method getMultiple (line 115) | public function getMultiple(iterable $keys, mixed $default = null): it... method setMultiple (line 127) | public function setMultiple(iterable $values, int|DateInterval|null $t... method deleteMultiple (line 139) | public function deleteMultiple(iterable $keys): bool method checkKey (line 151) | protected function checkKey(string $key): string method getTTL (line 162) | protected function getTTL(DateInterval|int|null $ttl): ?int method checkReturn (line 180) | protected function checkReturn(array $booleans): bool method getKeys (line 197) | public function getKeys(): array method evictExpired (line 210) | public function evictExpired(): int FILE: src/Cache/CacheException.php class CacheException (line 7) | class CacheException extends \Exception implements \Psr\SimpleCache\Cach... FILE: src/Cache/CacheInvalidArgumentException.php class CacheInvalidArgumentException (line 9) | class CacheInvalidArgumentException extends CacheException implements In... FILE: src/Exception/MobileDetectException.php class MobileDetectException (line 7) | class MobileDetectException extends \Exception FILE: src/Exception/MobileDetectExceptionCode.php class MobileDetectExceptionCode (line 7) | class MobileDetectExceptionCode FILE: src/MobileDetect.php class MobileDetect (line 231) | class MobileDetect method __construct (line 1050) | public function __construct( method getVersion (line 1072) | public function getVersion(): string method autoInitKnownHttpHeaders (line 1083) | public function autoInitKnownHttpHeaders(): void method setHttpHeaders (line 1119) | public function setHttpHeaders(array $httpHeaders = []): void method getHttpHeaders (line 1155) | public function getHttpHeaders(): array method hasHttpHeaders (line 1160) | public function hasHttpHeaders(): bool method hasHttpHeader (line 1165) | protected function hasHttpHeader(string $name): bool method getHttpHeader (line 1180) | public function getHttpHeader(string $header): ?string method getMobileHeaders (line 1201) | public function getMobileHeaders(): array method getUaHttpHeaders (line 1212) | public function getUaHttpHeaders(): array method getCloudFrontHttpHeaders (line 1223) | public function getCloudFrontHttpHeaders(): array method prepareUserAgent (line 1234) | private function prepareUserAgent(string $userAgent): string method setUserAgent (line 1246) | public function setUserAgent(string $userAgent): string method getUserAgent (line 1257) | public function getUserAgent(): ?string method hasUserAgent (line 1262) | public function hasUserAgent(): bool method isUserAgentEmpty (line 1267) | public function isUserAgentEmpty(): bool method getMatchingRegex (line 1272) | public function getMatchingRegex(): ?string method getMatchesArray (line 1277) | public function getMatchesArray(): ?array method getPhoneDevices (line 1287) | public static function getPhoneDevices(): array method getTabletDevices (line 1297) | public static function getTabletDevices(): array method getBrowsers (line 1307) | public static function getBrowsers(): array method getRules (line 1319) | public function getRules(): array method getOperatingSystems (line 1340) | public static function getOperatingSystems(): array method checkHttpHeadersForMobile (line 1352) | public function checkHttpHeadersForMobile(): bool method __call (line 1382) | public function __call(string $name, array $arguments) method isMobile (line 1400) | public function isMobile(): bool method isTablet (line 1446) | public function isTablet(): bool method is (line 1515) | public function is(string $ruleName): bool method match (line 1558) | public function match(string $regex, string $userAgent): bool method matchUserAgentWithFirstFoundMatchingRule (line 1574) | protected function matchUserAgentWithFirstFoundMatchingRule(): bool method matchUserAgentWithRule (line 1608) | protected function matchUserAgentWithRule(string $ruleName): bool method prepareVersionNo (line 1644) | public function prepareVersionNo(string $ver): float method version (line 1669) | public function version(string $propertyName, string $type = self::VER... method getCache (line 1703) | public function getCache(): CacheInterface method createCacheKey (line 1714) | protected function createCacheKey(string $key): string method flattenHeaders (line 1730) | public static function flattenHeaders(array $httpHeaders): string method getProperties (line 1744) | public static function getProperties(): array FILE: src/MobileDetectStandalone.php class MobileDetectStandalone (line 7) | class MobileDetectStandalone extends MobileDetect FILE: standalone/deps/simple-cache/src/CacheException.php type CacheException (line 8) | interface CacheException extends \Throwable FILE: standalone/deps/simple-cache/src/CacheInterface.php type CacheInterface (line 5) | interface CacheInterface method get (line 18) | public function get(string $key, mixed $default = null): mixed; method set (line 34) | public function set(string $key, mixed $value, null|int|\DateInterval ... method delete (line 46) | public function delete(string $key): bool; method clear (line 53) | public function clear(): bool; method getMultiple (line 67) | public function getMultiple(iterable $keys, mixed $default = null): it... method setMultiple (line 83) | public function setMultiple(iterable $values, null|int|\DateInterval $... method deleteMultiple (line 96) | public function deleteMultiple(iterable $keys): bool; method has (line 113) | public function has(string $key): bool; FILE: standalone/deps/simple-cache/src/InvalidArgumentException.php type InvalidArgumentException (line 11) | interface InvalidArgumentException extends CacheException FILE: tests/CacheTest.php class CacheTest (line 10) | final class CacheTest extends TestCase method setUp (line 13) | protected function setUp(): void method testGetInvalidCacheKeyThrowsException (line 21) | public function testGetInvalidCacheKeyThrowsException() method testSetInvalidCacheKeyThrowsException (line 30) | public function testSetInvalidCacheKeyThrowsException() method testGetNonExistentReturnsNull (line 39) | public function testGetNonExistentReturnsNull() method testGetNonExistentReturnsCustomDefault (line 47) | public function testGetNonExistentReturnsCustomDefault(): void method testGetExpiredItemReturnsDefault (line 55) | public function testGetExpiredItemReturnsDefault(): void method testGetExpiredItemReturnsCustomDefault (line 65) | public function testGetExpiredItemReturnsCustomDefault(): void method testSetGetBooleanValues (line 75) | public function testSetGetBooleanValues() method testSetGetZeroTTL (line 87) | public function testSetGetZeroTTL() method testSetGetNegativeTTL (line 96) | public function testSetGetNegativeTTL() method testSetZeroTTLWithInvalidKeyThrowsException (line 105) | public function testSetZeroTTLWithInvalidKeyThrowsException() method testSetNegativeTTLWithInvalidKeyThrowsException (line 114) | public function testSetNegativeTTLWithInvalidKeyThrowsException() method testSetValidTtlAsAnIntegerReturnsTheSetValue (line 123) | public function testSetValidTtlAsAnIntegerReturnsTheSetValue() method testSetNullTtlReturnsTheSetValue (line 132) | public function testSetNullTtlReturnsTheSetValue() method testSetWithDateIntervalTtl (line 141) | public function testSetWithDateIntervalTtl(): void method testDeletionOfValidRecord (line 150) | public function testDeletionOfValidRecord() method testDeleteInvalidKeyThrowsException (line 161) | public function testDeleteInvalidKeyThrowsException(): void method testDeleteNonExistentKeyReturnsTrue (line 170) | public function testDeleteNonExistentKeyReturnsTrue(): void method testClear (line 178) | public function testClear() method testGetMultiple (line 190) | public function testGetMultiple(): void method testSetMultiple (line 208) | public function testSetMultiple(): void method testDeleteMultiple (line 220) | public function testDeleteMultiple(): void method testHasReturnsTrueForValidCacheRecord (line 236) | public function testHasReturnsTrueForValidCacheRecord(): void method testHasReturnsTrueForValidNonNullTtl (line 245) | public function testHasReturnsTrueForValidNonNullTtl(): void method testHasReturnsFalseForExpiredCacheRecord (line 254) | public function testHasReturnsFalseForExpiredCacheRecord(): void method testHasReturnsFalseForNonExistentCacheRecord (line 264) | public function testHasReturnsFalseForNonExistentCacheRecord(): void method testHasThrowsExceptionForInvalidKey (line 272) | public function testHasThrowsExceptionForInvalidKey(): void method testGetMultipleWithCustomDefault (line 281) | public function testGetMultipleWithCustomDefault(): void method testSetMultipleReturnsFalseWhenOneFails (line 297) | public function testSetMultipleReturnsFalseWhenOneFails(): void method testCheckKeyWithInvalidCharactersThrowsException (line 307) | public function testCheckKeyWithInvalidCharactersThrowsException(): void method testCheckKeyWithSpecialCharsThrowsException (line 316) | public function testCheckKeyWithSpecialCharsThrowsException(): void method testCheckKeyExceeding64CharsThrowsException (line 325) | public function testCheckKeyExceeding64CharsThrowsException(): void method testCheckKeyWith64CharsIsValid (line 335) | public function testCheckKeyWith64CharsIsValid(): void method testEvictExpiredRemovesExpiredItems (line 345) | public function testEvictExpiredRemovesExpiredItems(): void method testEvictExpiredKeepsNullTtlItems (line 365) | public function testEvictExpiredKeepsNullTtlItems(): void method testEvictExpiredReturnsZeroWhenNothingToEvict (line 382) | public function testEvictExpiredReturnsZeroWhenNothingToEvict(): void method testEvictExpiredOnEmptyCache (line 393) | public function testEvictExpiredOnEmptyCache(): void FILE: tests/MobileDetectExceptionTest.php class MobileDetectExceptionTest (line 19) | final class MobileDetectExceptionTest extends TestCase method testIsMobileThrowsExceptionWithCodeWhenNoUserAgent (line 24) | public function testIsMobileThrowsExceptionWithCodeWhenNoUserAgent(): ... method testIsTabletThrowsExceptionWithCodeWhenNoUserAgent (line 46) | public function testIsTabletThrowsExceptionWithCodeWhenNoUserAgent(): ... method testIsThrowsExceptionWithCodeWhenNoUserAgent (line 66) | public function testIsThrowsExceptionWithCodeWhenNoUserAgent(): void method testIsMobileCacheExceptionHasProperCodeAndChain (line 85) | public function testIsMobileCacheExceptionHasProperCodeAndChain(): void method testIsTabletCacheExceptionHasProperCodeAndChain (line 122) | public function testIsTabletCacheExceptionHasProperCodeAndChain(): void method testIsMagicCacheExceptionHasProperCodeAndChain (line 151) | public function testIsMagicCacheExceptionHasProperCodeAndChain(): void method testFullExceptionChainForDebugging (line 183) | public function testFullExceptionChainForDebugging(): void method testExceptionCodesAreUniqueForCategorization (line 220) | public function testExceptionCodesAreUniqueForCategorization(): void method testRecommendedExceptionHandlingPattern (line 248) | public function testRecommendedExceptionHandlingPattern(): void method createFailingCache (line 281) | private function createFailingCache(\Throwable $exceptionToThrow): Cac... method buildExceptionChain (line 296) | private function buildExceptionChain(\Throwable $exception): array method getRootCause (line 312) | private function getRootCause(\Throwable $exception): \Throwable method getErrorTypeFromCode (line 321) | private function getErrorTypeFromCode(int $code): string FILE: tests/MobileDetectGeneralTest.php class MobileDetectGeneralTest (line 13) | final class MobileDetectGeneralTest extends TestCase method testClassExists (line 15) | public function testClassExists() method testBadMethodCall (line 20) | public function testBadMethodCall() method testNoUserAgentSetAndAutoInitOfHttpHeadersIsFalse (line 31) | public function testNoUserAgentSetAndAutoInitOfHttpHeadersIsFalse() method testNoUserAgentSet (line 43) | public function testNoUserAgentSet() method testEmptyStringAsAUserAgent (line 52) | public function testEmptyStringAsAUserAgent() method testAutoInitPicksUpKnownHttpHeaders (line 62) | public function testAutoInitPicksUpKnownHttpHeaders() method testValidHeadersThatDoNotContainHttpUserAgentHeaderButNoUserAgentIsManuallySet (line 75) | public function testValidHeadersThatDoNotContainHttpUserAgentHeaderBut... method testValidHeadersThatDoNotContainHttpUserAgentHeaderButNoUserAgentIsManuallySetAndAutoInitOfHttpHeadersIsFalse (line 85) | public function testValidHeadersThatDoNotContainHttpUserAgentHeaderBut... method testValidHeadersThatContainHttpUserAgentHeaderButNoUserAgentIsManuallySet (line 101) | public function testValidHeadersThatContainHttpUserAgentHeaderButNoUse... method testScriptVersion (line 114) | public function testScriptVersion() method testBasicMethods (line 126) | public function testBasicMethods() method headersProvider (line 168) | public function headersProvider(): array method testHeaders (line 210) | public function testHeaders(array $headers) method testInvalidHeader (line 233) | public function testInvalidHeader($headers) method testEmptyHeaders (line 240) | public function testEmptyHeaders() method userAgentProvider (line 247) | public function userAgentProvider(): array method testGetUserAgent (line 269) | public function testGetUserAgent($headers, $expectedUserAgent) method testSetHttpHeaders (line 280) | public function testSetHttpHeaders() method testSetCfHeaders (line 296) | public function testSetCfHeaders() method testSetUserAgent (line 333) | public function testSetUserAgent() method testSetLongUserAgent (line 340) | public function testSetLongUserAgent() method quickHeadersData (line 349) | public function quickHeadersData(): array method testQuickHeaders (line 413) | public function testQuickHeaders($headers) method quickNonMobileHeadersData (line 421) | public function quickNonMobileHeadersData(): array method testNonMobileQuickHeaders (line 451) | public function testNonMobileQuickHeaders($headers) method testRules (line 458) | public function testRules() method testRulesExtended (line 471) | public function testRulesExtended() FILE: tests/MobileDetectStandaloneTest.php class MobileDetectStandaloneTest (line 13) | final class MobileDetectStandaloneTest extends TestCase method testClassExists (line 15) | public function testClassExists() method testClassWithDefaultCache (line 23) | public function testClassWithDefaultCache(): void method testClassWithCustomCacheKeyFnInvalidKey (line 35) | public function testClassWithCustomCacheKeyFnInvalidKey(): void FILE: tests/MobileDetectVersionTest.php class MobileDetectVersionTest (line 8) | final class MobileDetectVersionTest extends TestCase method versionDataProvider (line 10) | public function versionDataProvider(): array method testVersionExtraction (line 55) | public function testVersionExtraction($userAgent, $property, $stringVe... method crazyVersionNumbers (line 71) | public function crazyVersionNumbers(): array method testPrepareVersionNo (line 89) | public function testPrepareVersionNo($raw, $expected) FILE: tests/MobileDetectWithCacheTest.php class MobileDetectWithCacheTest (line 11) | final class MobileDetectWithCacheTest extends TestCase method testFlattenHeaders (line 18) | public function testFlattenHeaders() method testDefaultCacheClassCreatesACacheRecord (line 38) | public function testDefaultCacheClassCreatesACacheRecord() method testDefaultCacheClassCreatesMultipleCacheRecordsForAllCalls (line 51) | public function testDefaultCacheClassCreatesMultipleCacheRecordsForAll... method testCustomCacheWithInvalidFnThrowsException (line 86) | public function testCustomCacheWithInvalidFnThrowsException() method testCustomCacheForConsecutiveCalls (line 100) | public function testCustomCacheForConsecutiveCalls() method testGetCacheKeyIsUsedInConsecutiveCallsIfFoundIn (line 117) | public function testGetCacheKeyIsUsedInConsecutiveCallsIfFoundIn() FILE: tests/UserAgentTest.php class UserAgentTest (line 13) | final class UserAgentTest extends TestCase method setUp (line 19) | public function setUp(): void method generateJson (line 24) | public static function generateJson() method setUpBeforeClass (line 128) | public static function setUpBeforeClass(): void method userAgentData (line 151) | public function userAgentData(): array method testUserAgents (line 165) | public function testUserAgents($userAgent, $isMobile, $isTablet, $vers... method testIsSamsung (line 204) | public function testIsSamsung() FILE: tests/benchmark/MobileDetectBench.php class MobileDetectBench (line 14) | final class MobileDetectBench method benchIsMobileAgainstBestMatch (line 25) | public function benchIsMobileAgainstBestMatch(): void method benchIsMobileAgainstWorstMatch (line 42) | public function benchIsMobileAgainstWorstMatch(): void method benchIsTabletAgainstBestMatch (line 58) | public function benchIsTabletAgainstBestMatch(): void method benchIsTabletAgainstWorstMatch (line 73) | public function benchIsTabletAgainstWorstMatch(): void method benchIsIOS (line 85) | public function benchIsIOS(): void method benchIsIpad (line 97) | public function benchIsIpad(): void method benchIsSamsung (line 109) | public function benchIsSamsung(): void method benchIsSamsungTablet (line 121) | public function benchIsSamsungTablet(): void method benchIsMobileCacheKeyFnSha1AgainstBestMatch (line 131) | public function benchIsMobileCacheKeyFnSha1AgainstBestMatch(): void