class StaticReflectionClass

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php \Drupal\Component\Annotation\Doctrine\StaticReflectionClass
  2. 11.x core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php \Drupal\Component\Annotation\Doctrine\StaticReflectionClass

Hierarchy

  • class \Drupal\Component\Annotation\Doctrine\StaticReflectionClass uses \Drupal\Component\Annotation\Doctrine\Compatibility\ReflectionClass implements \ReflectionClass

Expanded class hierarchy of StaticReflectionClass

File

core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php, line 33

Namespace

Drupal\Component\Annotation\Doctrine
View source
class StaticReflectionClass extends ReflectionClass {
  use CompatibilityReflectionClass;
  
  /**
   * The static reflection parser object.
   *
   * @var StaticReflectionParser
   */
  private $staticReflectionParser;
  public function __construct(StaticReflectionParser $staticReflectionParser) {
    $this->staticReflectionParser = $staticReflectionParser;
  }
  
  /**
   * {@inheritDoc}
   */
  public function getName() {
    return $this->staticReflectionParser
      ->getClassName();
  }
  
  /**
   * {@inheritDoc}
   */
  public function getDocComment() {
    return $this->staticReflectionParser
      ->getDocComment();
  }
  
  /**
   * {@inheritDoc}
   */
  public function getNamespaceName() {
    return $this->staticReflectionParser
      ->getNamespaceName();
  }
  
  /**
   * @return string[]
   */
  public function getUseStatements() {
    return $this->staticReflectionParser
      ->getUseStatements();
  }
  
  /**
   * {@inheritDoc}
   */
  public function getMethod($name) {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getProperty($name) {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public static function export($argument, $return = false) {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getConstant($name) {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getConstructor() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getDefaultProperties() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getEndLine() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getExtension() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getExtensionName() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getFileName() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getInterfaceNames() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getInterfaces() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getMethods($filter = null) {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getModifiers() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getParentClass() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getProperties($filter = null) {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getShortName() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getStartLine() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getStaticProperties() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getStaticPropertyValue($name, $default = '') {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getTraitAliases() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getTraitNames() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function getTraits() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function hasConstant($name) {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function hasMethod($name) {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function hasProperty($name) {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function implementsInterface($interface) {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function inNamespace() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function isAbstract() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function isCloneable() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function isFinal() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function isInstance($object) {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function isInstantiable() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function isInterface() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function isInternal() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function isIterateable() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function isSubclassOf($class) {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function isTrait() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function isUserDefined() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function newInstanceArgs(array $args = []) {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function newInstanceWithoutConstructor() {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function setStaticPropertyValue($name, $value) {
    throw new ReflectionException('Method not implemented');
  }
  
  /**
   * {@inheritDoc}
   */
  public function __toString() {
    throw new ReflectionException('Method not implemented');
  }

}

Members

Title Sort descending Modifiers Object type Summary
StaticReflectionClass::$staticReflectionParser private property The static reflection parser object.
StaticReflectionClass::export public static function
StaticReflectionClass::getConstant public function #[\ReturnTypeWillChange]
StaticReflectionClass::getConstructor public function #[\ReturnTypeWillChange]
StaticReflectionClass::getDefaultProperties public function #[\ReturnTypeWillChange]
StaticReflectionClass::getDocComment public function #[\ReturnTypeWillChange]
StaticReflectionClass::getEndLine public function #[\ReturnTypeWillChange]
StaticReflectionClass::getExtension public function #[\ReturnTypeWillChange]
StaticReflectionClass::getExtensionName public function #[\ReturnTypeWillChange]
StaticReflectionClass::getFileName public function #[\ReturnTypeWillChange]
StaticReflectionClass::getInterfaceNames public function #[\ReturnTypeWillChange]
StaticReflectionClass::getInterfaces public function #[\ReturnTypeWillChange]
StaticReflectionClass::getMethod public function #[\ReturnTypeWillChange]
StaticReflectionClass::getMethods public function #[\ReturnTypeWillChange]
StaticReflectionClass::getModifiers public function #[\ReturnTypeWillChange]
StaticReflectionClass::getName public function #[\ReturnTypeWillChange]
StaticReflectionClass::getNamespaceName public function #[\ReturnTypeWillChange]
StaticReflectionClass::getParentClass public function #[\ReturnTypeWillChange]
StaticReflectionClass::getProperties public function #[\ReturnTypeWillChange]
StaticReflectionClass::getProperty public function #[\ReturnTypeWillChange]
StaticReflectionClass::getShortName public function #[\ReturnTypeWillChange]
StaticReflectionClass::getStartLine public function #[\ReturnTypeWillChange]
StaticReflectionClass::getStaticProperties public function #[\ReturnTypeWillChange]
StaticReflectionClass::getStaticPropertyValue public function #[\ReturnTypeWillChange]
StaticReflectionClass::getTraitAliases public function #[\ReturnTypeWillChange]
StaticReflectionClass::getTraitNames public function #[\ReturnTypeWillChange]
StaticReflectionClass::getTraits public function #[\ReturnTypeWillChange]
StaticReflectionClass::getUseStatements public function
StaticReflectionClass::hasConstant public function #[\ReturnTypeWillChange]
StaticReflectionClass::hasMethod public function #[\ReturnTypeWillChange]
StaticReflectionClass::hasProperty public function #[\ReturnTypeWillChange]
StaticReflectionClass::implementsInterface public function #[\ReturnTypeWillChange]
StaticReflectionClass::inNamespace public function #[\ReturnTypeWillChange]
StaticReflectionClass::isAbstract public function #[\ReturnTypeWillChange]
StaticReflectionClass::isCloneable public function #[\ReturnTypeWillChange]
StaticReflectionClass::isFinal public function #[\ReturnTypeWillChange]
StaticReflectionClass::isInstance public function #[\ReturnTypeWillChange]
StaticReflectionClass::isInstantiable public function #[\ReturnTypeWillChange]
StaticReflectionClass::isInterface public function #[\ReturnTypeWillChange]
StaticReflectionClass::isInternal public function #[\ReturnTypeWillChange]
StaticReflectionClass::isIterateable public function #[\ReturnTypeWillChange]
StaticReflectionClass::isSubclassOf public function #[\ReturnTypeWillChange]
StaticReflectionClass::isTrait public function #[\ReturnTypeWillChange]
StaticReflectionClass::isUserDefined public function #[\ReturnTypeWillChange]
StaticReflectionClass::newInstanceArgs public function #[\ReturnTypeWillChange]
StaticReflectionClass::newInstanceWithoutConstructor public function #[\ReturnTypeWillChange]
StaticReflectionClass::setStaticPropertyValue public function #[\ReturnTypeWillChange]
StaticReflectionClass::__construct public function
StaticReflectionClass::__toString public function

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.