code: protected function extractControllerDefinition(ScannedPhpClass $subject) : ?ControllerDefinition
      {
          $class      = $subject->getClass();
          $annotation = $this->reader->getClassAnnotation($class, Mvc\Controller::class);
  
          // TODO: we need a registry for converters, so we can for example plug in the RIP
          if ($annotation instanceof Mvc\Controller) {
  
              return new ControllerDefinition(
                  $class->getName(),
                  $class->getName(),
                  $this->getActions($class)
              );
          }
  
          return null;
      }
docs: @param ScannedPhpClass $subject
  
  @return null|ControllerDefinition