code: private function stripNamespace(string $fqcn): string
      {
          if (false !== ($pos = strrpos($fqcn, '\\'))) {
              return substr($fqcn, $pos + 1);
          }
  
          return $fqcn;
      }
docs: Strips the namespace from a class name.