src/Response/Response.php
private function splitFieldNameAndPrefix($rawName)
    {
        $normalizedName = '';
        $prefix = '';

        if (!empty($rawName)) {
            if (strpos($rawName, CustomField::DEFAULT_PREFIX) === 0) {
                $normalizedName = substr($rawName, strlen(CustomField::DEFAULT_PREFIX));
                $prefix = CustomField::DEFAULT_PREFIX;
            } else {
                $normalizedName = $rawName;
            }
        }

        return [$normalizedName, $prefix];
    }
private function splitFieldNameAndPrefix($rawName)
    {
        $normalizedName = '';
        $prefix = '';

        if (!empty($rawName)) {
            if (strpos($rawName, CustomField::DEFAULT_PREFIX) === 0) {
                $normalizedName = substr($rawName, strlen(CustomField::DEFAULT_PREFIX));
                $prefix = CustomField::DEFAULT_PREFIX;
            } else {
                $normalizedName = $rawName;
            }
        }

        return [$normalizedName, $prefix];
    }
private function splitFieldNameAndPrefix ( $ rawName ) { $ normalizedName = '' ; $ prefix = '' ; if ( ! empty ( $ rawName ) ) { if ( strpos ( $ rawName , CustomField :: DEFAULT_PREFIX ) === 0 ) { $ normalizedName = substr ( $ rawName , strlen ( CustomField :: DEFAULT_PREFIX ) ) ; $ prefix = CustomField :: DEFAULT_PREFIX ; } else { $ normalizedName = $ rawName ; } } return [ $ normalizedName , $ prefix ] ; }
Auto detect the PHPSDK prefix for customfields

@param string $rawName
@return array
Auto detect the PHPSDK prefix for customfields