我猜这是tp注解-新手求指导

浏览:849 发布日期:2016/09/05 分类:求助交流 关键字: thinkphp5.0 @method tp5.0

===========================
/**
* Class Db
* @package think
* @method Query table(string $table) static 指定数据表(含前缀)
* @method Query name(string $name) static 指定数据表(不含前缀)
* @method Query where(mixed $field, string $op = null, mixed $condition = null) static 查询条件
* @method Query join(mixed $join, mixed $condition = null, string $type = 'INNER') static JOIN查询
* @method Query union(mixed $union, boolean $all = false) static UNION查询
* @method Query limit(mixed $offset, integer $length = null) static 查询LIMIT
* @method Query order(mixed $field, string $order = null) static 查询ORDER
* @method Query cache(mixed $key = true , integer $expire = null) static 设置查询缓存
**/
@thinkphp

请问这个注释里面的@method 的含义及作用(持续摸索中。。。)
最佳答案
评论( 相关
后面还有条评论,点击查看>>