From bfc1d8b2c7fa4cdf65005a4b44f309e77d0a7c1d Mon Sep 17 00:00:00 2001 From: tianfenghan Date: Fri, 9 Jan 2026 17:54:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B1=BB=E5=A4=84=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Php/ClassDef.php | 14 ++++++++++++++ src/Php/ConstDef.php | 19 +++++++++++++++++++ src/Php/PropertyDef.php | 19 +++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 src/Php/ClassDef.php create mode 100644 src/Php/ConstDef.php create mode 100644 src/Php/PropertyDef.php diff --git a/src/Php/ClassDef.php b/src/Php/ClassDef.php new file mode 100644 index 00000000..adcd3f1e --- /dev/null +++ b/src/Php/ClassDef.php @@ -0,0 +1,14 @@ + + */ + public array $properties; + public array $constants; +} \ No newline at end of file diff --git a/src/Php/ConstDef.php b/src/Php/ConstDef.php new file mode 100644 index 00000000..a634dc9f --- /dev/null +++ b/src/Php/ConstDef.php @@ -0,0 +1,19 @@ +name = $name; + $this->type = $type; + $this->flags = $flags; + $this->value = $value; + } +} \ No newline at end of file diff --git a/src/Php/PropertyDef.php b/src/Php/PropertyDef.php new file mode 100644 index 00000000..1df41a5b --- /dev/null +++ b/src/Php/PropertyDef.php @@ -0,0 +1,19 @@ +flags = $flags; + $this->name = $name; + $this->type = $type; + $this->default = $default; + } +} \ No newline at end of file