php
  • 다운로드
  • 설치와 설정
  • 언어 레퍼런스
  • 보안
  • 기능
  • 함수 레퍼런스
  • FAQ
  • 부록
  • 동영상강좌
  • 음성

Reflection ReflectionClass::isEnum

  1. Home
  2. 함수 레퍼런스
  3. 변수 및 유형 관련 확장
  4. Reflection
  5. ReflectionClass 클래스
  6. ReflectionClass::isEnum

ReflectionClass 클래스

  • __construct
  • export
  • getAttributes
  • getConstant
  • getConstants
  • getConstructor
  • getDefaultProperties
  • getDocComment
  • getEndLine
  • getExtension
  • getExtensionName
  • getFileName
  • getInterfaceNames
  • getInterfaces
  • getMethod
  • getMethods
  • getModifiers
  • getName
  • getNamespaceName
  • getParentClass
  • getProperties
  • getProperty
  • getReflectionConstant
  • getReflectionConstants
  • getShortName
  • getStartLine
  • getStaticProperties
  • getStaticPropertyValue
  • getTraitAliases
  • getTraitNames
  • getTraits
  • hasConstant
  • hasMethod
  • hasProperty
  • implementsInterface
  • inNamespace
  • isAbstract
  • isAnonymous
  • isCloneable
  • isEnum
  • isFinal
  • isInstance
  • isInstantiable
  • isInterface
  • isInternal
  • isIterable
  • isIterateable
  • isSubclassOf
  • isTrait
  • isUserDefined
  • newInstance
  • newInstanceArgs
  • newInstanceWithoutConstructor
  • setStaticPropertyValue
  • __toString
  • PHP강좌
  • 그누보드5강좌
  • 영카트5강좌

(PHP 8 >= 8.1.0)

ReflectionClass::isEnum — 이것이 열거형인지 여부를 반환합니다.


설명

public ReflectionClass::isEnum(): bool

클래스가 열거형인지 확인합니다.


매개변수

이 함수에는 매개변수가 없습니다.


반환 값

이것이 열거형이면 true를 반환하고 그렇지 않으면 false를 반환합니다.

PHP

  • php.net
  • talks.php.net
  • news.php.net
  • pear.php.net

웹학교

  • 365ok.co.kr
  • PHP강좌
  • 그누보드강좌
  • 영카트강좌

참조

  • pecl.php.net
  • bugs.php.net
  • doc.php.net
  • qa.php.net