What is the different between url() and getUrl() What is the different between url() and getUrl()
Ex:
   {% set solutionIcon = solution.solutionIcon.one() ?? null %}
   &lt;div class=&quot;img-wrapper mt--3 mb-2 mx-auto&quot;&gt;
      {% if solutionIcon %}
         &lt;img src=&quot;{{ solutionIcon.getUrl() }}&quot; alt=&quot;{{ solutionIcon.title }}&quot;&gt;
      {% endif %}
   &lt;/div&gt;

   {% set solutionIcon = solution.solutionIcon.one() ?? null %}
   &lt;div class=&quot;img-wrapper mt--3 mb-2 mx-auto&quot;&gt;
      {% if solutionIcon %}
         &lt;img src=&quot;{{ solutionIcon.url() }}&quot; alt=&quot;{{ solutionIcon.title }}&quot;&gt;
      {% endif %}
   &lt;/div&gt;
They do the same thing. url() is an alias of getUrl(). This is the link from the Craft 2 docs: https://docs.craftcms.com/v2/templating/entrymodel.html#url.
It works the same way in Craft 3, but I can never find anything in the Craft 3 docs.