PHP Class Barryvdh\Elfinder\Console\PublishCommand

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

Protected Properties

Property Type Description
$description string The console command description.
$files Illuminate\Filesystem\Filesystem
$name string The console command name.
$publishPath

Public Methods

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

Protected Methods

Method 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 method

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

copyElfinderFiles() protected method

Copy specific directories from elFinder to their destination
protected copyElfinderFiles ( $destination ) : boolean
$destination
return boolean

fire() public method

Execute the console command.
public fire ( ) : void
return void

getElfinderPath() protected method

Find the elFinder path from the vendor dir.
protected getElfinderPath ( ) : string
return string

getPath() protected method

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
return string

$files protected_oe property

protected Filesystem,Illuminate\Filesystem $files
return Illuminate\Filesystem\Filesystem

$name protected_oe property

The console command name.
protected string $name
return string

$publishPath protected_oe property

protected $publishPath