Classkit Functions
介紹
These functions allow the dynamic manipulation of PHP classes, at runtime.
Note: This extension has been replaced by runkit, which is not limited to class manipulation but has function manipulation, as well.
安裝
This » PECL extension is not bundled with PHP.
Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: » https://pecl.php.net/package/classkit.
The DLL for this PECL extension may be downloaded from either the » PHP Downloads page or from » https://pecl4win.php.net/
執行時期組態
php.ini中沒有定義此延伸的組態指令。
資源類型
這個延伸沒有定義任何資源。
Table of Contents
- classkit_import — Import new class method definitions from a file
- classkit_method_add — Dynamically adds a new method to a given class
- classkit_method_copy — Copies a method from class to another
- classkit_method_redefine — Dynamically changes the code of the given method
- classkit_method_remove — Dynamically removes the given method
- classkit_method_rename — Dynamically changes the name of the given method