I have rather a general question that would help me to undestand using services in Drupal 8+ and when it is worth to do so.
I have found a useful method createFromRoute which is part of
namespace Drupal\Core;
It is defined in Link.php file.
I have found plethora of examples in code when it is just called like this
Link::createFromRoute(... parameters here)
But, is calling this method like that a good practice? Should't this be somehow used as a service?
Why yes/no?