如何使用silex-annotation-provider指定Silex路由名?

I'm using silex-annotation-provider to create routes in my Silex application. I would also like to use the Silex Url Generator to create urls based on the route names.

The problem is that the annotation provider does not allow me to specify a route name, and because of this, I'm not able to use Silex's UrlGenerator.

How can I give my routes a name when using the silex-annotation-provider?

There's an annotation, @Bind, that let you give a route a name. Example:

use DDesrosiers\SilexAnnotations\Annotations as SLX;

/**
 * @SLX\Controller
 */
class TestController
{
    /**
     * @SLX\Route(
     *      @SLX\Request(method="GET", uri="foo"),
     *      @SLX\Bind(routeName="foo")
     * )
     */
    public function testMethod()