diff options
| author | Máté Kocsis <kocsismate@woohoolabs.com> | 2021-02-14 15:21:24 +0100 |
|---|---|---|
| committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2021-02-15 00:11:22 +0100 |
| commit | 5b5bfd6be48de4601d508fa5b8a7a572dda6b8bc (patch) | |
| tree | 1750beb0dc141c3362e14f2105c2401319eddd68 /ext/reflection/php_reflection.stub.php | |
| parent | af56982a5ecd28291d18d2e091515ad25de1050e (diff) | |
| download | php-git-5b5bfd6be48de4601d508fa5b8a7a572dda6b8bc.tar.gz | |
Generate class entries from stubs for phar, posix, pspell, readline, reflection, session, shmop
Closes GH-6692
Diffstat (limited to 'ext/reflection/php_reflection.stub.php')
| -rw-r--r-- | ext/reflection/php_reflection.stub.php | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.stub.php b/ext/reflection/php_reflection.stub.php index d12d10bd81..8a67c43a99 100644 --- a/ext/reflection/php_reflection.stub.php +++ b/ext/reflection/php_reflection.stub.php @@ -1,6 +1,6 @@ <?php -/** @generate-function-entries */ +/** @generate-class-entries */ class ReflectionException extends Exception { @@ -18,6 +18,9 @@ interface Reflector extends Stringable abstract class ReflectionFunctionAbstract implements Reflector { + /** @var string */ + public $name = ""; + /** @implementation-alias ReflectionClass::__clone */ final private function __clone(): void {} @@ -147,6 +150,9 @@ final class ReflectionGenerator class ReflectionMethod extends ReflectionFunctionAbstract { + /** @var string */ + public $class = ""; + public function __construct(object|string $objectOrMethod, ?string $method = null) {} public function __toString(): string {} @@ -199,6 +205,9 @@ class ReflectionMethod extends ReflectionFunctionAbstract class ReflectionClass implements Reflector { + /** @var string */ + public $name = ""; + final private function __clone(): void {} public function __construct(object|string $objectOrClass) {} @@ -369,6 +378,12 @@ class ReflectionObject extends ReflectionClass class ReflectionProperty implements Reflector { + /** @var string */ + public $name = ""; + + /** @var string */ + public $class = ""; + /** @implementation-alias ReflectionClass::__clone */ final private function __clone(): void {} @@ -434,6 +449,12 @@ class ReflectionProperty implements Reflector class ReflectionClassConstant implements Reflector { + /** @var string */ + public $name = ""; + + /** @var string */ + public $class = ""; + /** @implementation-alias ReflectionClass::__clone */ final private function __clone(): void {} @@ -471,6 +492,9 @@ class ReflectionClassConstant implements Reflector class ReflectionParameter implements Reflector { + /** @var string */ + public $name = ""; + /** @implementation-alias ReflectionClass::__clone */ final private function __clone(): void {} @@ -575,6 +599,9 @@ class ReflectionUnionType extends ReflectionType class ReflectionExtension implements Reflector { + /** @var string */ + public $name = ""; + /** @implementation-alias ReflectionClass::__clone */ final private function __clone(): void {} @@ -618,6 +645,9 @@ class ReflectionExtension implements Reflector class ReflectionZendExtension implements Reflector { + /** @var string */ + public $name = ""; + /** @implementation-alias ReflectionClass::__clone */ final private function __clone(): void {} |
