PHP Class Barryvdh\Elfinder\Console\PublishCommand

Author: Barry vd. Heuvel ([email protected])
Inheritance: extends Illuminate\Console\Command
Afficher le fichier Open project: barryvdh/laravel-elfinder

Protected Properties

Свойство Type Description
$description string The console command description.
$files Illuminate\Filesystem\Filesystem
$name string The console command name.
$publishPath

Méthodes publiques

Méthode Description
__construct ( Illuminate\Filesystem\Filesystem $files, string $publishPath ) Create a new Publish command
fire ( ) : void Execute the console command.

Méthodes protégées

Méthode Description
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.

Method Details

__construct() public méthode

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

copyElfinderFiles() protected méthode

Copy specific directories from elFinder to their destination
protected copyElfinderFiles ( $destination ) : boolean
$destination
Résultat boolean

fire() public méthode

Execute the console command.
public fire ( ) : void
Résultat void

getElfinderPath() protected méthode

Find the elFinder path from the vendor dir.
protected getElfinderPath ( ) : string
Résultat string

getPath() protected méthode

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

Property Details

$description protected_oe property

The console command description.
protected string $description
Résultat string

$files protected_oe property

protected Filesystem,Illuminate\Filesystem $files
Résultat Illuminate\Filesystem\Filesystem

$name protected_oe property

The console command name.
protected string $name
Résultat string

$publishPath protected_oe property

protected $publishPath