public static function findFieldName(FieldsCargo $cargo, string $name): string
        {
            $name = \Stringy\StaticStringy::upperCamelize($name);
            if(self::fieldExists($cargo, $name))
                return $name;
            throw new \Exception("Cannot resolve field name.");
        }
public static function findFieldName(FieldsCargo $cargo, string $name): string
        {
            $name = \Stringy\StaticStringy::upperCamelize($name);
            if(self::fieldExists($cargo, $name))
                return $name;
            throw new \Exception("Cannot resolve field name.");
        }
public static function findFieldName ( FieldsCargo $ cargo , string $ name ) : string { $ name = \ Stringy \ StaticStringy :: upperCamelize ( $ name ) ; if ( self :: fieldExists ( $ cargo , $ name ) ) return $ name ; throw new \ Exception ( "Cannot resolve field name." ) ; }
Given the uppercamelized field name, find its normalized version
in the fields section.

Used by Get and Set.

@param FieldsCargo $cargo Fields cargo where we seek.
@param string $name Field name in question.

@return bool
Given the uppercamelized field name find its normalized version in the fields section .