AssetPublisher (Foundation)

AssetPublisher

class AssetPublisher (View source)

Methods

void __construct( Filesystem $files, string $publishPath)

Create a new asset publisher instance.

bool publish( string $name, string $source)

Copy all assets from a given path to the publish path.

bool 登录查看完整内容