ReflectionClass ?
✅ 기본 개념ReflectionClass는 특정 클래스의 메서드, 속성, 상속 관계, 인터페이스, 주석(phpdoc) 등을 조사할 수 있습니다.getName(); // User// public 속성 목록 출력$properties = $reflector->getProperties(ReflectionProperty::IS_PUBLIC);foreach ($properties as $property) { echo $property->getName() . "\n";}// 메서드 목록 출력$methods = $reflector->getMethods();foreach ($methods as $method) { echo $method->getName() . "\n";}🔧 주요 메서드들메서드설명getName..
배움/PHP
2025. 7. 4. 12:52
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- eloquent
- ubuntu
- swagger
- createfromformat
- 비동기
- 명령어
- PYTHON
- 설정
- call_user_func
- laravel 12
- privatechannel
- OpenAI GPT
- eclipse
- laravel 테스트
- ob_get_contents
- php
- flask
- Laravel
- mysql
- jp:a
- uniqid
- curl_multi_init
- fromArray
- 설치
- laravel 11
- array_combine
- facades
- wsl
- WSL2
- reflectionclass
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
글 보관함
