protected function castArrayValue($value)
    {
        if (!is_object($value)) {
            return $this->key($value);
        }

        try {
            if ($key = $this->objectCategorizer->key($value)) {
                return $this->hashIfToLong($key);
            }
        } catch (Exception $e) {
        }

        return $this->hashIfToLong($this->objectToKey($value));
    }
protected function castArrayValue($value)
    {
        if (!is_object($value)) {
            return $this->key($value);
        }

        try {
            if ($key = $this->objectCategorizer->key($value)) {
                return $this->hashIfToLong($key);
            }
        } catch (Exception $e) {
        }

        return $this->hashIfToLong($this->objectToKey($value));
    }
protected function castArrayValue ( $ value ) { if ( ! is_object ( $ value ) ) { return $ this -> key ( $ value ) ; } try { if ( $ key = $ this -> objectCategorizer -> key ( $ value ) ) { return $ this -> hashIfToLong ( $ key ) ; } } catch ( Exception $ e ) { } return $ this -> hashIfToLong ( $ this -> objectToKey ( $ value ) ) ; }
Casts an array value. Is used different to avoid endless recursion.

@param mixed $value

@return string
Casts an array value . Is used different to avoid endless recursion .