eZ\Publish\Core\REST\Common\FieldTypeProcessor\BinaryProcessor::postProcessValueHash PHP Method

postProcessValueHash() public method

public postProcessValueHash ( $outgoingValueHash )
    public function postProcessValueHash($outgoingValueHash)
    {
        if (!is_array($outgoingValueHash)) {
            return $outgoingValueHash;
        }
        $outgoingValueHash['uri'] = $this->generateUrl($outgoingValueHash['uri']);
        // url is kept for BC, but uri is the right one
        $outgoingValueHash['url'] = $outgoingValueHash['uri'];
        return $outgoingValueHash;
    }