Property | Type | Description | |
---|---|---|---|
$noBash | boolean | Avoids using bash using stubs instead to modify config/app.php file. |
Method | Description | |
---|---|---|
addAliases ( $aliases ) | Add aliases to Laravel config file. | |
addLaravelIdeHelperProvider ( ) : integer | null | Add Laravel IDE Helper provider to config/app.php file. | |
addProviders ( $providers ) | Add providers to Laravel config file. | |
alias ( $aliasName, $aliasClass ) | Installs alias/facade in laravel config/app.php file. | |
checkIfLaravelConfigFileExists ( ) : boolean | Check if Laravel config file exists. | |
configAppFileAlreadyInstalled ( ) : boolean | Check if config/app.php stub file is already installed. | |
initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
installConfigFile ( ) : integer | Install llum custom config/app.php file. | |
installConfigFileWithBash ( ) | Install /config/app.php file using bash script. | |
installConfigFileWithStubs ( ) | Install /stubs/app.php into /config/app.php. | |
provider ( $provider ) | Installs provider in laravel config/app.php file. | |
service ( $file, $outputFile = null ) | Add service/s from file to Laravel config/services.php. |
Method | Description | |
---|---|---|
addAlias ( string $alias ) : integer | null | Add alias to config/app.php file. | |
addFileIntoMountPoint ( $mountpoint, $fileToInsert, $outputFile = null ) : mixed | Insert file into file using mountpoint. | |
addProvider ( $provider ) : integer | null | Add provider to config/app.php file. | |
addService ( $file, $outputFile = null ) : integer | null | Add service from file to config/services.php file. | |
addTextIntoMountPoint ( string $mountpoint, $textToAdd ) : integer | null | Insert text into file using mountpoint. Mountpoint is maintained at file. | |
isNoBashActive ( ) : boolean | Check is --no-bash option is active. | |
scapeSingleQuotes ( string $str ) : string | scape single quotes for sed using \x27. | |
setupLaravelConfigFile ( $providers, $aliases ) : integer | Setup laravel config file adding providers and aliases. | |
showWarningIfLaravelConfigAlreadySupportsLlum ( ) : integer | Show warning if Laravel config file already supports llum. | |
testLaravelConfigFileExists ( ) : integer | Test Laravel config file exists. |
protected addAliases ( $aliases ) | ||
$aliases |
protected addLaravelIdeHelperProvider ( ) : integer | null | ||
return | integer | null |
protected addProviders ( $providers ) | ||
$providers |
protected alias ( $aliasName, $aliasClass ) | ||
$aliasName | ||
$aliasClass |
protected checkIfLaravelConfigFileExists ( ) : boolean | ||
return | boolean |
protected configAppFileAlreadyInstalled ( ) : boolean | ||
return | boolean |
protected initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface |
protected installConfigFile ( ) : integer | ||
return | integer |
protected installConfigFileWithBash ( ) |
protected installConfigFileWithStubs ( ) |
protected provider ( $provider ) | ||
$provider |
protected service ( $file, $outputFile = null ) | ||
$file |
protected bool $noBash | ||
return | boolean |