
ReflectionClass::getDocComment 메소드는 클래스의 클래스 문서 주석만 가져옵니다.
클래스의 메소드나 속성에 대한 문서 주석은 ReflectionMethod::getDocComment와 ReflectionProperty::getDocComment 메소드를 사용하여 가져올 수 있습니다.
ReflectionClass::getDocComment 메소드는 클래스의 모든 요소에 대한 문서 주석을 가져올 수 없습니다.
클래스의 모든 요소에 대한 문서 주석을 가져올 수 있는 방법은 ReflectionClass::getMethods, ReflectionClass::getProperties, ReflectionClass::getConstants 메소드를 사용하여 각 요소에 대한 문서 주석을 가져와야 합니다.
2025-07-01 04:40