ConfigPublisher
class ConfigPublisher (View source)
Methods
void
bool
publish(
string $package,
string $source)
Publish configuration files from a given path.
bool
publishPackage(
string $package,
string $packagePath = null)
Publish the configuration files for a package.
bool
alreadyPublished(
string $package)
Determine if a given package has already been published.
string
getDestinationPath(
string $package)
Get the target destination path for the configuration files.
void
setPackagePath(
string $packagePath)
Set the default package path.
Details
at line line 35
void
__construct(
Filesystem $files,
string $publishPath)
Create a new configuration publisher instance.
at line line 48
bool
publish(
string $package,
string $source)
Publish configuration files from a given path.
at line line 64
bool
publishPackage(
string $package,
string $packagePath = null)
Publish the configuration files for a package.
at line line 117
bool
alreadyPublished(
string $package)
Determine if a given package has already been published.
at line line 128
string
getDestinationPath(
string $package)
Get the target destination path for the configuration files.