original_string: protected function configureRoute(Route $route, \ReflectionClass $class, \ReflectionMethod $method, $annot)
      {
          if ('__invoke' === $method->getName()) {
              $route->setDefault('_controller', $class->getName());
          } else {
              $route->setDefault('_controller', $class->getName().'::'.$method->getName());
          }
      }
code: protected function configureRoute(Route $route, \ReflectionClass $class, \ReflectionMethod $method, $annot)
      {
          if ('__invoke' === $method->getName()) {
              $route->setDefault('_controller', $class->getName());
          } else {
              $route->setDefault('_controller', $class->getName().'::'.$method->getName());
          }
      }
code_tokens: protected function configureRoute ( Route $ route , \ ReflectionClass $ class , \ ReflectionMethod $ method , $ annot ) { if ( '__invoke' === $ method -> getName ( ) ) { $ route -> setDefault ( '_controller' , $ class -> getName ( ) ) ; } else { $ route -> setDefault ( '_controller' , $ class -> getName ( ) . '::' . $ method -> getName ( ) ) ; } }
docstring: Configures the _controller default parameter of a given Route instance.
  
  @param mixed $annot The annotation class instance
docstring_tokens: Configures the _controller default parameter of a given Route instance .