Returns a collection of routes with URL path information for the resource.
This method determines where a resource is reachable, what path replacements are used, the required HTTP method for the operation etc.
\Symfony\Component\Routing\RouteCollection A collection of routes that should be registered for this resource.
public function routes();