Sensio\Bundle\FrameworkExtraBundle\Routing\AnnotatedRouteControllerLoader::getDefaultRouteName
Makes the default route name more sane by removing common keywords.
Signature
protected function getDefaultRouteName(ReflectionClass
$class,
ReflectionMethod
$method )
Parameters
$class
— \ReflectionClass- A ReflectionClass instance
$method
— \ReflectionMethod- A ReflectionMethod instance
Returns
- string
- The default route name