AssetPublisher::setPackagePath()

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

AssetPublisher::publishPackage()

bool publishPackage(string $package, string $packagePath = null) Publish a given package's assets to the publish path. Parameters string $package string $packagePath Return Value bool

AssetPublisher::publish()

bool publish(string $name, string $source) Copy all assets from a given path to the publish path. Parameters string $name string $source Return Value bool Exceptions RuntimeException

AssetPublisher

AssetPublisher class AssetPublisher (View source) Methods void __construct(Filesystem $files, string $publishPath) Create a new asset publisher instance. 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.

AssetPublishCommand::__construct()

void __construct(AssetPublisher $assets) Create a new asset publish command instance. Parameters AssetPublisher $assets Return Value void

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

AssetPublishCommand::setLaravel()

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

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

AssetPublishCommand::run()

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

AssetPublishCommand::question()

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