public function getCaseSensitiveObjectName($caseInsensitiveObjectName)
    {
        $lowerCasedObjectName = ltrim(strtolower($caseInsensitiveObjectName), '\\');
        if (isset($this->cachedLowerCasedObjectNames[$lowerCasedObjectName])) {
            return $this->cachedLowerCasedObjectNames[$lowerCasedObjectName];
        }

        foreach ($this->objects as $objectName => $information) {
            if (isset($information['l']) && $information['l'] === $lowerCasedObjectName) {
                $this->cachedLowerCasedObjectNames[$lowerCasedObjectName] = $objectName;
                return $objectName;
            }
        }

        return false;
    }
public function getCaseSensitiveObjectName($caseInsensitiveObjectName)
    {
        $lowerCasedObjectName = ltrim(strtolower($caseInsensitiveObjectName), '\\');
        if (isset($this->cachedLowerCasedObjectNames[$lowerCasedObjectName])) {
            return $this->cachedLowerCasedObjectNames[$lowerCasedObjectName];
        }

        foreach ($this->objects as $objectName => $information) {
            if (isset($information['l']) && $information['l'] === $lowerCasedObjectName) {
                $this->cachedLowerCasedObjectNames[$lowerCasedObjectName] = $objectName;
                return $objectName;
            }
        }

        return false;
    }
public function getCaseSensitiveObjectName ( $ caseInsensitiveObjectName ) { $ lowerCasedObjectName = ltrim ( strtolower ( $ caseInsensitiveObjectName ) , '\\' ) ; if ( isset ( $ this -> cachedLowerCasedObjectNames [ $ lowerCasedObjectName ] ) ) { return $ this -> cachedLowerCasedObjectNames [ $ lowerCasedObjectName ] ; } foreach ( $ this -> objects as $ objectName => $ information ) { if ( isset ( $ information [ 'l' ] ) && $ information [ 'l' ] === $ lowerCasedObjectName ) { $ this -> cachedLowerCasedObjectNames [ $ lowerCasedObjectName ] = $ objectName ; return $ objectName ; } } return false ; }
Returns the case sensitive object name of an object specified by a
case insensitive object name. If no object of that name exists,
false is returned.

In general, the case sensitive variant is used everywhere in Flow,
however there might be special situations in which the
case sensitive name is not available. This method helps you in these
rare cases.

@param  string $caseInsensitiveObjectName The object name in lower-, upper- or mixed case
@return mixed Either the mixed case object name or false if no object of that name was found.
@api
Returns the case sensitive object name of an object specified by a case insensitive object name . If no object of that name exists false is returned .