This commit is contained in:
as2252258@163.com
2021-04-08 00:38:29 +08:00
parent c5dd60258d
commit 482581b97b
3 changed files with 330 additions and 235 deletions
+12 -2
View File
@@ -85,9 +85,19 @@ class Annotation extends Component
* @param string $dir
* @throws Exception
*/
public function instanceDirectoryFiles(string $dir)
public function instanceDirectoryFiles(string $dir, ?string $outPath = null)
{
$this->_loader->loadByDirectory($dir);
$this->_loader->loadByDirectory($dir, $outPath);
}
/**
* @param string $dir
* @throws Exception
*/
public function runtime(string $dir, ?string $outPath = null)
{
$this->_loader->directoryRuntime($dir, $outPath);
}