- CodeClass::getClassName allows to get class name with namespace
- CodeClass::getShortClassName returns only the class name
Details
Details
This is used in Zed for XmlDocument serialization:
$key = CodeClass::from($value)->getShortClassName();
Unit tests provided.
Diff Detail
Diff Detail
- Repository
- rKERUALD Keruald libraries development repository
- Lint
Lint Warnings Severity Location Code Message Warning omnitools/tests/Reflection/CodeClassTest.php:27 PHPCS.W.Generic.Files.LineLength.TooLong Generic.Files.LineLength.TooLong Warning omnitools/tests/Reflection/CodeClassTest.php:31 PHPCS.W.Generic.Files.LineLength.TooLong Generic.Files.LineLength.TooLong - Unit
Tests Passed - Branch
- codeclass
- Build Status
Buildable 5066 Build 5347: arc lint + arc unit