@@ -2,6 +2,9 @@
 
 namespace Shopsys\FrameworkBundle\Component\Router\FriendlyUrl;
 
+/**
+ * @method FriendlyUrlData createFromIdAndName(int $id, string $name)
+ */
 interface FriendlyUrlDataFactoryInterface
 {
     /**
<?php

namespace Shopsys\FrameworkBundle\Component\Router\FriendlyUrl;

interface FriendlyUrlDataFactoryInterface
{
    /**
     * @return \Shopsys\FrameworkBundle\Component\Router\FriendlyUrl\FriendlyUrlData
     */
    public function create(): FriendlyUrlData;
}

It's to maintain backward compatibility? Can you please mark it somehow, so when we remove deprecations we don't forget to update the interface as this should definitely be part of the interface (and I don't really know how properly)