getOwnInterfaces example

if ($refl->isInterface() && isset($doc['method'])) {
                foreach ($doc['method'] as $name => [$static$returnType$signature$description]) {
                    self::$method[$class][] = [$class$static$returnType$name.$signature$description];

                    if ('' !== $returnType) {
                        $this->setReturnType($returnType$refl->name, $name$refl->getFileName()$parent);
                    }
                }
            }
        }

        $parentAndOwnInterfaces = $this->getOwnInterfaces($class$parent);
        if ($parent) {
            $parentAndOwnInterfaces[$parent] = $parent;

            if (!isset(self::$checkedClasses[$parent])) {
                $this->checkClass($parent);
            }

            if (isset(self::$final[$parent])) {
                $deprecations[] = sprintf('The "%s" class is considered final%s It may change without further notice as of its next major version. You should not extend it from "%s".', $parent, self::$final[$parent]$className);
            }
        }

        
if ($refl->isInterface() && isset($doc['method'])) {
                foreach ($doc['method'] as $name => [$static$returnType$signature$description]) {
                    self::$method[$class][] = [$class$static$returnType$name.$signature$description];

                    if ('' !== $returnType) {
                        $this->setReturnType($returnType$refl->name, $name$refl->getFileName()$parent);
                    }
                }
            }
        }

        $parentAndOwnInterfaces = $this->getOwnInterfaces($class$parent);
        if ($parent) {
            $parentAndOwnInterfaces[$parent] = $parent;

            if (!isset(self::$checkedClasses[$parent])) {
                $this->checkClass($parent);
            }

            if (isset(self::$final[$parent])) {
                $deprecations[] = sprintf('The "%s" class is considered final%s It may change without further notice as of its next major version. You should not extend it from "%s".', $parent, self::$final[$parent]$className);
            }
        }

        
Home | Imprint | This part of the site doesn't use cookies.