this method is defined in Symfony\Component\Routing\Route which is the parent of the route model. are you sure its not working without this?