getCaseSensitivePackageKey() public method

Returns the upper camel cased version of the given package key or FALSE if no such package is available.
public getCaseSensitivePackageKey ( string $unknownCasedPackageKey ) : mixed
$unknownCasedPackageKey string The package key to convert
return mixed The upper camel cased package key or FALSE if no such package exists
 /**
  * Sets the package key of the controller.
  *
  * This function tries to determine the correct case for the given package key.
  * If the Package Manager does not know the specified package, the package key
  * cannot be verified or corrected and is stored as is.
  *
  * @param string $packageKey The package key
  * @return void
  * @api
  */
 public function setControllerPackageKey($packageKey)
 {
     $correctlyCasedPackageKey = $this->packageManager->getCaseSensitivePackageKey($packageKey);
     $this->controllerPackageKey = $correctlyCasedPackageKey !== false ? $correctlyCasedPackageKey : $packageKey;
 }