ConfigPublisher::publishPackage()

bool publishPackage(string $package, string $packagePath = null) Publish the configuration files for a package. Parameters string $package string $packagePath Return Value bool

ConfigPublisher::publish()

bool publish(string $package, string $source) Publish configuration files from a given path. Parameters string $package string $source Return Value bool

ConfigPublisher::getDestinationPath()

string getDestinationPath(string $package) Get the target destination path for the configuration files. Parameters string $package Return Value string

ConfigPublisher::alreadyPublished()

bool alreadyPublished(string $package) Determine if a given package has already been published. Parameters string $package Return Value bool

ConfigPublisher

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 g

ConfigPublishCommand::__construct()

void __construct(ConfigPublisher $config) Create a new configuration publish command instance. Parameters ConfigPublisher $config Return Value void

ConfigPublishCommand::table()

void table(array $headers, array $rows, string $style = 'default') Format input to textual table Parameters array $headers array $rows string $style Return Value void

ConfigPublishCommand::setLaravel()

void setLaravel(Application $laravel) Set the Laravel application instance. Parameters Application $laravel Return Value void

ConfigPublishCommand::secret()

string secret(string $question, bool $fallback = true) Prompt the user for input but hide the answer from the console. Parameters string $question bool $fallback Return Value string

ConfigPublishCommand::run()

int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int