优化代码生成

This commit is contained in:
JaguarJack
2020-04-29 11:41:54 +08:00
parent f8fb57c9c6
commit b30e57bf01
4 changed files with 40 additions and 12 deletions

View File

@@ -55,12 +55,13 @@ TMP;
*/
public function name($name)
{
return <<<TMP
if ($name) {
return <<<TMP
protected \$name = '{$name}';
TMP;
}
}
/**