ViewPublisher::setPackagePath()

void setPackagePath(string $packagePath) Set the default package path. Parameters string $packagePath Return Value void

ViewPublisher::publishPackage()

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

ViewPublisher::publish()

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

ViewPublisher

ViewPublisher class ViewPublisher (View source) Methods void __construct(Filesystem $files, string $publishPath) Create a new view publisher instance. void publish(string $package, string $source) Publish view files from a given path. void publishPackage(string $package, string $packagePath = null) Publish the view files for a package. void setPackagePath(string $packagePath) Set the default package path.

ViewPublishCommand::__construct()

void __construct(ViewPublisher $view) Create a new view publish command instance. Parameters ViewPublisher $view Return Value void

ViewPublishCommand::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

ViewPublishCommand::setLaravel()

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

ViewPublishCommand::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

ViewPublishCommand::run()

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

ViewPublishCommand::question()

void question(string $string) Write a string as question output. Parameters string $string Return Value void