优化代码生成
This commit is contained in:
@@ -55,12 +55,13 @@ TMP;
|
||||
*/
|
||||
public function name($name)
|
||||
{
|
||||
return <<<TMP
|
||||
if ($name) {
|
||||
return <<<TMP
|
||||
protected \$name = '{$name}';
|
||||
|
||||
|
||||
TMP;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user