PHP Class Efficiently\Larasset\Commands\BaseCommand

Inheritance: extends Illuminate\Console\Command
Afficher le fichier Open project: efficiently/larasset Class Usage Examples

Protected Properties

Свойство Type Description
$envs

Méthodes publiques

Méthode Description
fire ( ) : mixed Execute the console command.

Méthodes protégées

Méthode Description
hasLarassetJs ( ) : boolean Does user have larasset-js module installed?
hasNode ( ) : boolean Does user have Node.js installed?
hasNpm ( ) : boolean Does user have Npm installed?
normalizePath ( string $path ) : string Windows platform support: Convert backslash to slash
packagePath ( ) : string Returns package absolute path
useWindows ( ) : boolean Check if the PHP server is under Windows Operating System

Method Details

fire() public méthode

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

hasLarassetJs() protected méthode

Does user have larasset-js module installed?
protected hasLarassetJs ( ) : boolean
Résultat boolean

hasNode() protected méthode

Does user have Node.js installed?
protected hasNode ( ) : boolean
Résultat boolean

hasNpm() protected méthode

Does user have Npm installed?
protected hasNpm ( ) : boolean
Résultat boolean

normalizePath() protected méthode

Windows platform support: Convert backslash to slash
protected normalizePath ( string $path ) : string
$path string
Résultat string

packagePath() protected méthode

Returns package absolute path
protected packagePath ( ) : string
Résultat string

useWindows() protected méthode

Check if the PHP server is under Windows Operating System
protected useWindows ( ) : boolean
Résultat boolean

Property Details

$envs protected_oe property

protected $envs