php 反射 容器类,phpGrace 工具类库 - 类反射工具
发布日期:2022-02-21 12:50:33 浏览次数:43 分类:技术文章

本文共 624 字,大约阅读时间需要 2 分钟。

功能描述

使用 reflex 工具类可以快速的对某个指定的类文件或对象进行反射,类文件结构一目了然!

部署说明将 reflex.php 文件直接部署到 phpGrace/tools/ 文件夹下

使用说明使用 phpGrace\tools\reflex 类的静态方法 r,参数:类或对象。<?php

class indexController extends grace{

public function index(){

$mailer  = new phpGrace\tools\mailer();

phpGrace\tools\reflex::r($mailer);

}

}

反射结果类似:文件位置 :

D:\web\localhost\phpGrace\tools\mailer.php

属性 :

Property [ default private $mailConfig ]

类内常量 :

方法 :

Method [ user, ctor public method __construct ] { @@ D:\web\localhost\phpGrace\tools\mailer.php 24 - 32 }

Method [ user public method send ] { @@ D:\web\localhost\phpGrace\tools\mailer.php 34 - 77 - Parameters [4] ......

转载地址:https://blog.csdn.net/weixin_33958381/article/details/115851726 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:php 静态页面模板下载,HTML 静态网页模板这些都是一些简单的 ,可以供大家下载下来练习。希望对 WEB(ASP,PHP,...) 238万源代码下载- www.pudn.com...
下一篇:matlab四元非线性拟合,Matlab里公式拟合成一个四元非线性公式

发表评论

最新留言

初次前来,多多关照!
[***.217.46.12]2024年04月14日 09时48分13秒