Neos\Fusion\Core\Cache\ContentCache::getTypeForContextValue PHP Method

getTypeForContextValue() protected method

TODO: Adapt to Flow change https://review.typo3.org/#/c/33138/
protected getTypeForContextValue ( mixed $contextValue ) : string
$contextValue mixed
return string
    protected function getTypeForContextValue($contextValue)
    {
        if (is_object($contextValue)) {
            if ($contextValue instanceof Proxy) {
                $type = get_parent_class($contextValue);
            } else {
                $type = get_class($contextValue);
            }
        } else {
            $type = gettype($contextValue);
        }
        return $type;
    }