Skip to content

Commit 8604e03

Browse files
committed
up
1 parent d5847b3 commit 8604e03

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

libs/Asset/AssetPublisher.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ public function defaultOptions()
8484
return [
8585
/**
8686
* 包含的可发布的 文件 文件扩展匹配 目录
87-
* 比 {@see $exlude} 优先级更高
8887
* @var array
8988
*/
9089
'include' => [
@@ -99,6 +98,7 @@ public function defaultOptions()
9998

10099
/**
101100
* 排除发布的 文件 文件扩展匹配 目录
101+
* 比 include 优先级更高
102102
* @var array
103103
*/
104104
'exclude' => [
@@ -149,6 +149,7 @@ public function add($from, $to = '')
149149
* target path is {@see $publishPath} + $path ( is param of the method `source($path)` )
150150
* @param bool|false $override
151151
* @return $this
152+
* @throws FileSystemException
152153
*/
153154
public function publish($override = false)
154155
{
@@ -198,6 +199,8 @@ public function publishFile($from, $to, $override = false)
198199
* @param $fromDir
199200
* @param $toDir
200201
* @param bool|false $override
202+
* @throws FileSystemException
203+
* @throws InvalidArgumentException
201204
*/
202205
public function publishDir($fromDir, $toDir, $override = false)
203206
{

0 commit comments

Comments
 (0)