src/AppBundle/Serializer/CotizacionNameConverter.php
/**
     * Converts a property name to its normalized value.
     *
     * @param string $propertyName
     *
     * @return string
     */
Converts a property name to its normalized value.
@param string $propertyName

@return string
Converts a property name to its normalized value . @param string $propertyName @return string
public function normalize($propertyName)
    {
        if (preg_match('/servicios/', $propertyName)) {
            return 'conceptos';
        } else if (preg_match('/astilleroserviciobasico/', $propertyName)) {
            return 'serviciobasico';
        }
        return $propertyName;
    }
public function normalize ( $ propertyName ) { if ( preg_match ( '/servicios/' , $ propertyName ) ) { return 'conceptos' ; } else if ( preg_match ( '/astilleroserviciobasico/' , $ propertyName ) ) { return 'serviciobasico' ; } return $ propertyName ; }
Converts a property name to its normalized value.
Converts a property name to its normalized value .