ext/reflection: Add `getFqn()` method to `ReflectionClass`, `ReflectionConstant`, `ReflectionFunctionAbstract`, and `ReflectionAttribute`
@DanielEScherzer ci sta già lavorando.
Dal 23/8/2025.
- Lingua principale
- C
- Stelle
- 40.4k
- Fork
- 8.1k
- Merge medio
- 2g 13h
- PR unite (30g)
- 96
Descrizione
Description
The getName() method on those classes returns a qualified name rather than the fully qualified name.
There are various instances where just a qualified name is not sufficient (e.g. documentation or code gen), and while it is very easy to get the FQN by just prepending \ to the name from getName() this is something that needs to be known to be safe to do.
This maybe also should be added to ReflectionClassConstant as methods would also have this new method automatically due to ReflectionMethod inheriting from ReflectionFunctionAbstract.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.