小型机械臂新重大发布
代码已被完全重构并编码为属性操作的新支持
这是一个操作示例:
$classFile = \Small\ClassManipulator\ClassManipulator::fromProject(__DIR__ . '/../..') ->getClass(\Small\ClassManipulator\Test\Fixture\SimpleClass::class) ->parse(); $classFile->getClass()->getAttributes()->push( (new \Small\ClassManipulator\ClassFile\Bean\AttributeBean()) ->setClass('\ORM') ); $classFile->write();
了解:
免责声明: 提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发到邮箱:[email protected] 我们会第一时间内为您处理。
Copyright© 2022 湘ICP备2022001581号-3