2017-02-02 67 views
0

的最小值。如果我把这个在我的PHPDoc的评论:Restler指定数组元素

* @param array $children The SQL idents of the children to add to the parent. {@type int} {@min 1} 

然后Restler花费认为这意味着它是一个整数数组与至少一个数组元素。还有一种方法可以说,数组中整数的最小值是1吗?

回答

0

Restler不支持指定数组中整数的最小值和最大值。你需要在api方法内处理它