AssetPublisher
class AssetPublisher (View source)
Methods
void
bool
publish(
string $name,
string $source)
Copy all assets from a given path to the publish path.
bool
publishPackage(
string $package,
string $packagePath = null)
Publish a given package's assets to the publish path.
void
setPackagePath(
string $packagePath)
Set the default package path.
Details
at line line 35
void
__construct(
Filesystem $files,
string $publishPath)
Create a new asset publisher instance.
at line line 50
bool
publish(
string $name,
string $source)
Copy all assets from a given path to the publish path.
at line line 71
bool
publishPackage(
string $package,
string $packagePath = null)
Publish a given package's assets to the publish path.