例子:
protected $_labelName = null;
应该生成
public function getLabelName()
{
$this->_labelName;
}
public function setLabelName($labelName)
{
$this->_labelName = $labelName;
return $this;
}
但它是生成
public function get_labelName()
{
return $this->_labelName;
}
public function set_labelName($_labelName)
{
$this->_labelName = $_labelName;
return $this;
}
如您所见 - 它看起来不同,但我没有找到如何更改方法名称和修剪设置方法参数名称的方法。