Свойство | Тип | Описание | |
---|---|---|---|
$description | string | The console command description. | |
$files | Illuminate\Filesystem\Filesystem | The filesystem instance. | |
$signature | string | The console command signature. |
Метод | Описание | |
---|---|---|
__construct ( Illuminate\Filesystem\Filesystem $files ) : void | Create a new command instance. | |
fire ( ) : void | Execute the console command. |
Метод | Описание | |
---|---|---|
createParentDirectory ( string $directory ) : void | Create the directory to house the published files if needed. | |
publishDirectory ( string $from, string $to ) : void | Publish the directory to the given directory. | |
publishFile ( string $from, string $to ) : void | Publish the file to the given path. | |
status ( string $from, string $to, string $type ) : void | Write a status message to the console. |
Метод | Описание | |
---|---|---|
publishTag ( string $tag ) : mixed | Publishes the assets for a tag. |
public __construct ( Illuminate\Filesystem\Filesystem $files ) : void | ||
$files | Illuminate\Filesystem\Filesystem | |
Результат | void |
protected createParentDirectory ( string $directory ) : void | ||
$directory | string | |
Результат | void |
protected string $description | ||
Результат | string |
protected Filesystem,Illuminate\Filesystem $files | ||
Результат | Illuminate\Filesystem\Filesystem |
protected string $signature | ||
Результат | string |