Reflection
- 소개
- 설치/구성
- 미리 정의된 상수
- Examples
- Extending
- Reflection - Reflection 클래스
- Reflection::export - 내보내기
- Reflection::getModifierNames - 수정자 이름을 가져옵니다.
- ReflectionClass - ReflectionClass 클래스
- ReflectionClass::__construct — ReflectionClass를 생성합니다.
- ReflectionClass::export — 클래스 내보내기
- ReflectionClass::getAttributes — 속성 가져오기
- ReflectionClass::getConstant — 정의된 상수 가져오기
- ReflectionClass::getConstants — 상수 가져오기
- ReflectionClass::getConstructor — 클래스의 생성자를 가져옵니다.
- ReflectionClass::getDefaultProperties — 기본 속성 가져오기
- ReflectionClass::getDocComment — 문서 주석 가져오기
- ReflectionClass::getEndLine — 마지막 라인을 얻습니다
- ReflectionClass::getExtension — 클래스를 정의한 확장에 대한 ReflectionExtension 개체를 가져옵니다.
- ReflectionClass::getExtensionName — 클래스를 정의한 확장의 이름을 가져옵니다.
- ReflectionClass::getFileName — 클래스가 정의된 파일의 파일 이름을 가져옵니다.
- ReflectionClass::getInterfaceNames — 인터페이스 이름을 가져옵니다.
- ReflectionClass::getInterfaces — 인터페이스를 가져옵니다.
- ReflectionClass::getMethod — 클래스 메서드에 대한 ReflectionMethod를 가져옵니다.
- ReflectionClass::getMethods — 메서드 배열을 가져옵니다.
- ReflectionClass::getModifiers — 클래스 수정자를 가져옵니다.
- ReflectionClass::getName — 클래스 이름 가져오기
- ReflectionClass::getNamespaceName — 네임스페이스 이름 가져오기
- ReflectionClass::getParentClass — 부모 클래스 가져오기
- ReflectionClass::getProperties — 속성 가져오기
- ReflectionClass::getProperty — 클래스 속성에 대한 ReflectionProperty를 가져옵니다.
- ReflectionClass::getReflectionConstant — 클래스의 상수에 대한 ReflectionClassConstant를 가져옵니다.
- ReflectionClass::getReflectionConstants — 클래스 상수를 가져옵니다.
- ReflectionClass::getShortName — 짧은 이름을 가져옵니다
- ReflectionClass::getStartLine — 시작 줄 번호를 가져옵니다.
- ReflectionClass::getStaticProperties — 정적 속성 가져오기
- ReflectionClass::getStaticPropertyValue — 정적 속성 값을 가져옵니다.
- ReflectionClass::getTraitAliases — 특성 별칭의 배열을 반환합니다.
- ReflectionClass::getTraitNames — 이 클래스에서 사용하는 특성 이름의 배열을 반환합니다.
- ReflectionClass::getTraits — 이 클래스에서 사용하는 특성의 배열을 반환합니다.
- ReflectionClass::hasConstant — 상수가 정의되었는지 확인
- ReflectionClass::hasMethod — 메소드가 정의되어 있는지 확인
- ReflectionClass::hasProperty — 속성이 정의되어 있는지 확인
- ReflectionClass::implementsInterface — 인터페이스 구현
- ReflectionClass::inNamespace — 네임스페이스에 있는지 확인
- ReflectionClass::isAbstract — 클래스가 추상인지 확인
- ReflectionClass::isAnonymous — 클래스가 익명인지 확인
- ReflectionClass::isCloneable — 이 클래스가 복제 가능한지 여부를 반환합니다.
- ReflectionClass::isEnum — 이것이 enum인지 여부를 반환합니다.
- ReflectionClass::isFinal — 클래스가 final인지 확인
- ReflectionClass::isInstance — Checks class for instance
- ReflectionClass::isInstantiable — 클래스가 인스턴스화 가능한지 확인
- ReflectionClass::isInterface — 클래스가 인터페이스인지 확인
- ReflectionClass::isInternal — 클래스가 확장 또는 코어에 의해 내부적으로 정의되었는지 확인합니다.
- ReflectionClass::isIterable — 이 클래스가 반복 가능한지 확인
- ReflectionClass::isIterateable — ReflectionClass::isIterable의 별칭
- ReflectionClass::isSubclassOf — 하위 클래스인지 확인
- ReflectionClass::isTrait — Returns whether this is a trait
- ReflectionClass::isUserDefined — 사용자 정의 여부 확인
- ReflectionClass::newInstance — 주어진 인수에서 새 클래스 인스턴스를 만듭니다.
- ReflectionClass::newInstanceArgs — 주어진 인수에서 새 클래스 인스턴스를 만듭니다.
- ReflectionClass::newInstanceWithoutConstructor — 생성자를 호출하지 않고 새 클래스 인스턴스를 만듭니다.
- ReflectionClass::setStaticPropertyValue — 정적 속성 값 설정
- ReflectionClass::__toString — ReflectionClass 객체의 문자열 표현을 반환합니다.
- ReflectionClassConstant - ReflectionClassConstant 클래스
- ReflectionClassConstant::__construct — ReflectionClassConstant를 생성합니다.
- ReflectionClassConstant::export — 내보내기
- ReflectionClassConstant::getAttributes — 속성 가져오기
- ReflectionClassConstant::getDeclaringClass — 클래스 선언을 가져옵니다.
- ReflectionClassConstant::getDocComment — 문서 주석 가져오기
- ReflectionClassConstant::getModifiers — 클래스 상수 수정자를 가져옵니다.
- ReflectionClassConstant::getName — 상수의 이름 가져오기
- ReflectionClassConstant::getValue — Gets value
- ReflectionClassConstant::isEnumCase — 클래스 상수가 Enum 케이스인지 확인
- ReflectionClassConstant::isFinal — 클래스 상수가 final인지 확인
- ReflectionClassConstant::isPrivate — 클래스 상수가 private인지 확인
- ReflectionClassConstant::isProtected — 클래스 상수가 protected인지 확인
- ReflectionClassConstant::isPublic — 클래스 상수가 public인지 확인
- ReflectionClassConstant::__toString — ReflectionClassConstant 객체의 문자열 표현을 반환합니다.
- ReflectionEnum - ReflectionEnum 클래스
- ReflectionEnum::__construct — ReflectionEnum 개체를 인스턴스화합니다.
- ReflectionEnum::getBackingType — Enum의 지원 유형을 가져옵니다(있는 경우).
- ReflectionEnum::getCase — Enum의 특정 사례를 반환합니다.
- ReflectionEnum::getCases — Enum의 모든 케이스 목록을 반환합니다.
- ReflectionEnum::hasCase — Enum에서 사례 확인
- ReflectionEnum::isBacked — Enum이 지원되는 Enum인지 확인합니다.
- ReflectionEnumUnitCase - ReflectionEnumUnitCase 클래스
- ReflectionEnumUnitCase::__construct — ReflectionEnumUnitCase 개체를 인스턴스화합니다.
- ReflectionEnumUnitCase::getEnum — 이 경우의 enum의 reflection를 가져옵니다.
- ReflectionEnumUnitCase::getValue — 이 리플렉션 객체가 설명하는 enum 케이스 객체를 가져옵니다.
- ReflectionEnumBackedCase - ReflectionEnumBackedCase 클래스
- ReflectionEnumBackedCase::__construct — ReflectionEnumBackedCase 개체를 인스턴스화합니다.
- ReflectionEnumBackedCase::getBackingValue — 이 Enum 케이스를 뒷받침하는 스칼라 값을 가져옵니다.
- ReflectionZendExtension - ReflectionZendExtension 클래스
- ReflectionZendExtension::__clone — 클론 핸들러
- ReflectionZendExtension::__construct — Constructor
- ReflectionZendExtension::export — Export
- ReflectionZendExtension::getAuthor — Gets author
- ReflectionZendExtension::getCopyright — Gets copyright
- ReflectionZendExtension::getName — Gets name
- ReflectionZendExtension::getURL — Gets URL
- ReflectionZendExtension::getVersion — Gets version
- ReflectionZendExtension::__toString — To string handler
- ReflectionExtension - ReflectionExtension 클래스
- ReflectionExtension::__clone — Clones
- ReflectionExtension::__construct — ReflectionExtension 생성
- ReflectionExtension::export — Export
- ReflectionExtension::getClasses — Gets classes
- ReflectionExtension::getClassNames — Gets class names
- ReflectionExtension::getConstants — Gets constants
- ReflectionExtension::getDependencies — Gets dependencies
- ReflectionExtension::getFunctions — Gets extension functions
- ReflectionExtension::getINIEntries — Gets extension ini entries
- ReflectionExtension::getName — Gets extension name
- ReflectionExtension::getVersion — Gets extension version
- ReflectionExtension::info — Print extension info
- ReflectionExtension::isPersistent — Returns whether this extension is persistent
- ReflectionExtension::isTemporary — Returns whether this extension is temporary
- ReflectionExtension::__toString — To string
- ReflectionFunction - ReflectionFunction 클래스
- ReflectionFunction::__construct — ReflectionFunction 객체를 생성합니다.
- ReflectionFunction::export — 함수 내보내기
- ReflectionFunction::getClosure — 함수에 대해 동적으로 생성된 클로저를 반환합니다.
- ReflectionFunction::invoke — 함수 호출
- ReflectionFunction::invokeArgs — 함수 인수를 호출합니다.
- ReflectionFunction::isDisabled — 함수가 비활성화되어 있는지 확인
- ReflectionFunction::__toString — To string
- ReflectionFunctionAbstract - ReflectionFunctionAbstract 클래스
- ReflectionFunctionAbstract::__clone — Clones function
- ReflectionFunctionAbstract::getAttributes — 속성 가져오기
- ReflectionFunctionAbstract::getClosureScopeClass — 클로저와 관련된 범위를 반환합니다.
- ReflectionFunctionAbstract::getClosureThis — 클로저에 바인딩된 이 포인터를 반환합니다.
- ReflectionFunctionAbstract::getClosureUsedVariables — 클로저에서 사용된 변수의 배열을 반환합니다.
- ReflectionFunctionAbstract::getDocComment — 문서 주석 가져오기
- ReflectionFunctionAbstract::getEndLine — 끝 줄 번호를 가져옵니다.
- ReflectionFunctionAbstract::getExtension — 확장 정보 가져오기
- ReflectionFunctionAbstract::getExtensionName — 확장 이름 가져오기
- ReflectionFunctionAbstract::getFileName — 파일 이름 가져오기
- ReflectionFunctionAbstract::getName — 함수 이름 가져오기
- ReflectionFunctionAbstract::getNamespaceName — 네임스페이스 이름 가져오기
- ReflectionFunctionAbstract::getNumberOfParameters — 매개변수의 수를 가져옵니다.
- ReflectionFunctionAbstract::getNumberOfRequiredParameters — 필요한 매개변수의 수를 가져옵니다.
- ReflectionFunctionAbstract::getParameters — 매개변수 가져오기
- ReflectionFunctionAbstract::getReturnType — 함수의 지정된 반환 유형을 가져옵니다.
- ReflectionFunctionAbstract::getShortName — 함수의 짧은 이름을 가져옵니다.
- ReflectionFunctionAbstract::getStartLine — 시작 줄 번호를 가져옵니다.
- ReflectionFunctionAbstract::getStaticVariables — 정적 변수를 가져옵니다.
- ReflectionFunctionAbstract::getTentativeReturnType — 함수와 관련된 임시 반환 유형을 반환합니다.
- ReflectionFunctionAbstract::hasReturnType — 함수에 지정된 반환 유형이 있는지 확인합니다.
- ReflectionFunctionAbstract::hasTentativeReturnType — 함수에 임시 반환 유형이 있는지 여부를 반환합니다.
- ReflectionFunctionAbstract::inNamespace — 네임스페이스에 함수가 있는지 확인
- ReflectionFunctionAbstract::isClosure — closure 여부 확인
- ReflectionFunctionAbstract::isDeprecated — 더 이상 사용되지 않는지 확인
- ReflectionFunctionAbstract::isGenerator — 이 함수가 제너레이터인지 여부를 반환합니다.
- ReflectionFunctionAbstract::isInternal — 내부인지 확인
- ReflectionFunctionAbstract::isUserDefined — 사용자 정의 여부 확인
- ReflectionFunctionAbstract::isVariadic — 함수가 가변적인지 확인
- ReflectionFunctionAbstract::returnsReference — 참조를 반환하는지 확인
- ReflectionFunctionAbstract::__toString — To string
- ReflectionMethod - ReflectionMethod 클래스
- ReflectionMethod::__construct — ReflectionMethod 생성
- ReflectionMethod::export — reflection 메서드 내보내기
- ReflectionMethod::getClosure — 메서드에 대해 동적으로 생성된 클로저를 반환합니다.
- ReflectionMethod::getDeclaringClass — 반영된 메서드에 대한 선언 클래스를 가져옵니다.
- ReflectionMethod::getModifiers — 메서드 수정자를 가져옵니다.
- ReflectionMethod::getPrototype — 메서드 프로토타입을 가져옵니다(있는 경우).
- ReflectionMethod::invoke — 호출
- ReflectionMethod::invokeArgs — 인수 호출
- ReflectionMethod::isAbstract — 메서드가 추상인지 확인
- ReflectionMethod::isConstructor — 메소드가 생성자인지 확인
- ReflectionMethod::isDestructor — 메소드가 소멸자인지 확인
- ReflectionMethod::isFinal — 메소드가 final인지 확인
- ReflectionMethod::isPrivate — 메서드가 private인지 확인
- ReflectionMethod::isProtected — 메소드가 protected인지 확인
- ReflectionMethod::isPublic — 메소드가 public인지 확인
- ReflectionMethod::isStatic — 메서드가 static인지 확인
- ReflectionMethod::setAccessible — Set method accessibility
- ReflectionMethod::__toString — Reflection 메서드 개체의 문자열 표현을 반환합니다.
- ReflectionNamedType - ReflectionNamedType 클래스
- ReflectionNamedType::getName — 유형의 이름을 문자열로 가져옵니다.
- ReflectionNamedType::isBuiltin — 내장형인지 확인
- ReflectionObject - ReflectionObject 클래스
- ReflectionObject::__construct — ReflectionObject를 생성합니다.
- ReflectionObject::export — 내보내기
- ReflectionParameter - ReflectionParameter 클래스
- ReflectionParameter::allowsNull — null이 허용되는지 확인
- ReflectionParameter::canBePassedByValue — 이 매개변수를 값으로 전달할 수 있는지 여부를 반환합니다.
- ReflectionParameter::__clone — Clone
- ReflectionParameter::__construct — Construct
- ReflectionParameter::export — Exports
- ReflectionParameter::getAttributes — 속성 가져오기
- ReflectionParameter::getClass — 반영되는 매개변수에 대한 ReflectionClass 객체를 가져오거나 null을 가져옵니다.
- ReflectionParameter::getDeclaringClass — 클래스 선언을 가져옵니다.
- ReflectionParameter::getDeclaringFunction — 선언 함수를 가져옵니다.
- ReflectionParameter::getDefaultValue — 기본 매개변수 값을 가져옵니다.
- ReflectionParameter::getDefaultValueConstantName — 기본값이 상수이거나 null인 경우 기본값의 상수 이름을 반환합니다.
- ReflectionParameter::getName — 매개변수 이름을 가져옵니다.
- ReflectionParameter::getPosition — 매개변수 위치 가져오기
- ReflectionParameter::getType — 매개변수의 유형을 가져옵니다.
- ReflectionParameter::hasType — 매개변수에 유형이 있는지 확인
- ReflectionParameter::isArray — 매개변수에 배열이 필요한지 확인합니다.
- ReflectionParameter::isCallable — 매개변수가 호출 가능해야 하는지 여부를 반환합니다.
- ReflectionParameter::isDefaultValueAvailable — 기본값을 사용할 수 있는지 확인
- ReflectionParameter::isDefaultValueConstant — 이 매개변수의 기본값이 상수인지 여부를 반환합니다.
- ReflectionParameter::isOptional — 선택 사항인지 확인
- ReflectionParameter::isPassedByReference — 참조로 전달되었는지 확인
- ReflectionParameter::isVariadic — 매개변수가 가변적인지 확인합니다.
- ReflectionParameter::__toString — To string
- ReflectionProperty - ReflectionProperty 클래스
- ReflectionProperty::__clone — Clone
- ReflectionProperty::__construct — ReflectionProperty 객체 생성
- ReflectionProperty::export — 내보내다
- ReflectionProperty::getAttributes — 속성 가져오기
- ReflectionProperty::getDeclaringClass — 클래스 선언을 가져옵니다.
- ReflectionProperty::getDefaultValue — 속성에 대해 선언된 기본값을 반환합니다.
- ReflectionProperty::getDocComment — 속성 문서 주석을 가져옵니다.
- ReflectionProperty::getModifiers — 속성 수정자를 가져옵니다.
- ReflectionProperty::getName — 속성 이름 가져오기
- ReflectionProperty::getType — 속성의 유형을 가져옵니다.
- ReflectionProperty::getValue — Gets value
- ReflectionProperty::hasDefaultValue — 속성에 기본값이 선언되어 있는지 확인합니다.
- ReflectionProperty::hasType — 속성에 유형이 있는지 확인
- ReflectionProperty::isDefault — 속성이 기본 속성인지 확인
- ReflectionProperty::isInitialized — 속성이 초기화되었는지 확인합니다.
- ReflectionProperty::isPrivate — 속성이 private인지 확인
- ReflectionProperty::isPromoted — 속성이 promoted인지 확인
- ReflectionProperty::isProtected — 속성이 protected인지 확인
- ReflectionProperty::isPublic — 속성이 public인지 확인합니다.
- ReflectionProperty::isReadOnly — 속성이 읽기 전용인지 확인
- ReflectionProperty::isStatic — 속성이 static인지 확인
- ReflectionProperty::setAccessible — 속성 접근성 설정
- ReflectionProperty::setValue — 속성 값 설정
- ReflectionProperty::__toString — To string
- ReflectionType - ReflectionType 클래스
- ReflectionType::allowsNull — null이 허용되는지 확인
- ReflectionType::__toString — To string
- ReflectionUnionType - ReflectionUnionType 클래스
- ReflectionUnionType::getTypes — Returns the types included in the union type
- ReflectionGenerator - ReflectionGenerator 클래스
- ReflectionGenerator::__construct — ReflectionGenerator 객체를 생성합니다.
- ReflectionGenerator::getExecutingFile — 현재 실행 중인 생성기의 파일 이름을 가져옵니다.
- ReflectionGenerator::getExecutingGenerator — 실행 중인 Generator 객체를 가져옵니다.
- ReflectionGenerator::getExecutingLine — 생성기의 현재 실행 중인 라인을 가져옵니다.
- ReflectionGenerator::getFunction — 생성기의 함수 이름을 가져옵니다.
- ReflectionGenerator::getThis — 생성기의 $this 값을 가져옵니다.
- ReflectionGenerator::getTrace — 실행 중인 생성기의 추적을 가져옵니다.
- ReflectionFiber - ReflectionFiber 클래스
- ReflectionFiber::__construct — ReflectionFiber 객체를 생성합니다.
- ReflectionFiber::getCallable — Fiber를 생성하는 데 사용되는 콜러블을 가져옵니다.
- ReflectionFiber::getExecutingFile — 현재 실행 지점의 파일 이름 가져오기
- ReflectionFiber::getExecutingLine — 현재 실행 지점의 줄 번호를 가져옵니다.
- ReflectionFiber::getFiber — reflected Fiber 인스턴스 가져오기
- ReflectionFiber::getTrace — 현재 실행 지점의 역추적 가져오기
- ReflectionIntersectionType - ReflectionIntersectionType 클래스
- ReflectionIntersectionType::getTypes — 교차 유형에 포함된 유형을 반환합니다.
- ReflectionReference - ReflectionReference 클래스
- ReflectionReference::__construct — 직접 인스턴스화를 허용하지 않는 Private 생성자
- ReflectionReference::fromArrayElement — 배열 요소에서 ReflectionReference 만들기
- ReflectionReference::getId — 참조의 고유 ID 가져오기
- ReflectionAttribute - ReflectionAttribute 클래스
- ReflectionAttribute::__construct — 직접 인스턴스화를 허용하지 않는 Private 생성자
- ReflectionAttribute::getArguments — 속성에 전달된 인수를 가져옵니다.
- ReflectionAttribute::getName — 속성 이름 가져오기
- ReflectionAttribute::getTarget — 속성의 대상을 비트 마스크로 반환
- ReflectionAttribute::isRepeated — 이 이름의 속성이 코드 요소에서 반복되었는지 여부를 반환합니다.
- ReflectionAttribute::newInstance — 이 ReflectionAttribute 클래스 및 인수가 나타내는 속성 클래스를 인스턴스화합니다.
- Reflector - Reflector 인터페이스
- Reflector::export — Exports
- Reflector::__toString — To string
- ReflectionException - ReflectionException 클래스