PHP Класс Barryvdh\Elfinder\Console\PublishCommand

Автор: Barry vd. Heuvel ([email protected])
Наследование: extends Illuminate\Console\Command
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$description string The console command description.
$files Illuminate\Filesystem\Filesystem
$name string The console command name.
$publishPath

Открытые методы

Метод Описание
__construct ( Illuminate\Filesystem\Filesystem $files, string $publishPath ) Create a new Publish command
fire ( ) : void Execute the console command.

Защищенные методы

Метод Описание
copyElfinderFiles ( $destination ) : boolean Copy specific directories from elFinder to their destination
getElfinderPath ( ) : string Find the elFinder path from the vendor dir.
getPath ( ) Get the path of the public folder, to merge with the elFinder folders.

Описание методов

__construct() публичный Метод

Create a new Publish command
public __construct ( Illuminate\Filesystem\Filesystem $files, string $publishPath )
$files Illuminate\Filesystem\Filesystem
$publishPath string

copyElfinderFiles() защищенный Метод

Copy specific directories from elFinder to their destination
protected copyElfinderFiles ( $destination ) : boolean
$destination
Результат boolean

fire() публичный Метод

Execute the console command.
public fire ( ) : void
Результат void

getElfinderPath() защищенный Метод

Find the elFinder path from the vendor dir.
protected getElfinderPath ( ) : string
Результат string

getPath() защищенный Метод

Get the path of the public folder, to merge with the elFinder folders.
protected getPath ( )

Описание свойств

$description защищенное свойство

The console command description.
protected string $description
Результат string

$files защищенное свойство

protected Filesystem,Illuminate\Filesystem $files
Результат Illuminate\Filesystem\Filesystem

$name защищенное свойство

The console command name.
protected string $name
Результат string

$publishPath защищенное свойство

protected $publishPath