我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

记录使用__call()的PHP类

I was wondering if there is a way to force phpDocumentor to print out the potential methods you could use for getting and setting when you do them dynamically with a __call().

In the case of my simple getter, I would want it to cycle through all private variables and just append get to them (and uppercase the first letter, of course).

See the phpDocumentor reference on @method.

近期文章

  • 如何在PHP中创建错误404?
  • PHP - preg_match_all - 有点高级
  • 在PHP网站上使用Jasper报告
  • 带有SQL函数的Doctrine DQL查询
  • 完整的URL无法使用PHP包括
  • 如何检查PHP会话是否为空?
  • 将编号转换为强调拼音?
  • 如何在PHP中对数组和数据进行排序?
  • 将工厂传递给symfony 2服务
  • Youtube I.D解析新的URL格式
  • 如何声明二维数组?
  • 使用Symfony2将xml反序列化为对象
  • PHP相当于Python的yield运算符
  • “清洁代码”对性能的影响
  • 静态方法比非静态方法快吗?
  • Android 关于 AlarmManager的唤醒问题
  • 如何从数组中删除空值? [重复]
  • 如何修剪数组中的所有字符串? [重复]
  • Doctrine2 ODM限制不起作用/ mongodb
  • 与Session相关的Facebook令牌

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华