ConfigPublisher (Foundation)

ConfigPublisher

class ConfigPublisher (View source)

Methods

void __construct(Filesystem $files, string $publishPath)

Create a new configuration publisher instance.

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

void __construct(Filesystem $files, string $publishPath)

Create a new configuration publisher instance.

Parameters

Filesystem $files
string $publishPath

Return Value

void

bool publish(string $package, string $source)

Publish configuration files from a given path.

Parameters

string $package
string $source

Return Value

bool

bool publishPackage(string $package, string $packagePath = null)

Publish the configuration files for a package.

Parameters

string $package
string $packagePath

Return Value

bool

bool alreadyPublished(string $package)

Determine if a given package has already been published.

Parameters

string $package

Return Value

bool

string getDestinationPath(string $package)

Get the target destination path for the configuration files.

Parameters

string $package

Return Value

string

void setPackagePath(string $packagePath)

Set the default package path.

Parameters

string $packagePath

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Foundation/ConfigPublisher.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部