CodeGenerator:使用 PHP 生成 PHP 代码

时间:2021-06-09 23:14:34
【文件属性】:
文件名称:CodeGenerator:使用 PHP 生成 PHP 代码
文件大小:23KB
文件格式:ZIP
更新时间:2021-06-09 23:14:34
PHP 代码生成器 使用 PHP 生成 PHP 代码。 目前,该库仅允许您为类生成代码。 ##例子 use CodeGen \ Canvas ; use CodeGen \ Php \ Class_ as PhpClass ; use CodeGen \ Php \ Property ; use CodeGen \ Php \ Method ; use CodeGen \ Php \ Parameter ; // Create a canvas $ canvas = new Canvas (); // Set the namespace and add uses $ canvas -> setNamespace ( 'App\Controller' ) -> use ( 'Serializable' ); // Create the class object $ class = new P
【文件预览】:
CodeGenerator-master
----src()
--------Functionality()
--------Operation()
--------StatementBlock.php(497B)
--------Lang.php(909B)
--------Expression.php(815B)
--------ExpressionInterface.php(245B)
--------Php()
--------Statement()
--------Scope.php(2KB)
--------Lang()
--------SymbolTable.php(2KB)
--------ClassIntrospector.php(2KB)
--------ObjectInterface.php(252B)
--------Docs.php(2KB)
--------Generator.php(3KB)
--------Canvas.php(2KB)
--------AbstractObject.php(658B)
----LICENSE(1KB)
----README.md(2KB)
----composer.json(426B)

网友评论