This commit is contained in:
2023-04-11 16:43:52 +08:00
parent 47ab82628b
commit 921863865d
2 changed files with 12 additions and 4 deletions
+10
View File
@@ -64,6 +64,16 @@ abstract class GiiBase
$this->modelNamespace = $modelNamespace;
}
/**
* @param string $content
* @return string
*/
protected function clearBlank(string $content): string
{
return preg_replace('/\s/ixm', '', $content);
}
/**
* @param string $controllerPath
*/