PHP Class Flarum\Install\Console\InstallCommand

Inheritance: extends Flarum\Console\Command
Show file Open project: flarum/core

Protected Properties

Property Type Description
$application Illuminate\Contracts\Foundation\Application
$dataSource Flarum\Install\Console\DataProviderInterface
$filesystem Illuminate\Filesystem\Filesystem

Public Methods

Method Description
__construct ( Illuminate\Contracts\Foundation\Application $application, Illuminate\Filesystem\Filesystem $filesystem )
setDataSource ( Flarum\Install\Console\DataProviderInterface $dataSource )

Protected Methods

Method Description
configure ( )
createAdminUser ( )
enableBundledExtensions ( )
fire ( )
getConfigFile ( )
getPrerequisites ( ) : Flarum\Install\Prerequisite\PrerequisiteInterface
getValidator ( ) : Illuminate\Contracts\Validation\Factory
init ( )
install ( )
publishAssets ( )
runMigrations ( )
seedGroups ( )
seedPermissions ( )
showErrors ( $errors )
storeConfiguration ( )
writeSettings ( )

Method Details

__construct() public method

public __construct ( Illuminate\Contracts\Foundation\Application $application, Illuminate\Filesystem\Filesystem $filesystem )
$application Illuminate\Contracts\Foundation\Application
$filesystem Illuminate\Filesystem\Filesystem

configure() protected method

protected configure ( )

createAdminUser() protected method

protected createAdminUser ( )

enableBundledExtensions() protected method

protected enableBundledExtensions ( )

fire() protected method

protected fire ( )

getConfigFile() protected method

protected getConfigFile ( )

getPrerequisites() protected method

protected getPrerequisites ( ) : Flarum\Install\Prerequisite\PrerequisiteInterface
return Flarum\Install\Prerequisite\PrerequisiteInterface

getValidator() protected method

protected getValidator ( ) : Illuminate\Contracts\Validation\Factory
return Illuminate\Contracts\Validation\Factory

init() protected method

protected init ( )

install() protected method

protected install ( )

publishAssets() protected method

protected publishAssets ( )

runMigrations() protected method

protected runMigrations ( )

seedGroups() protected method

protected seedGroups ( )

seedPermissions() protected method

protected seedPermissions ( )

setDataSource() public method

public setDataSource ( Flarum\Install\Console\DataProviderInterface $dataSource )
$dataSource Flarum\Install\Console\DataProviderInterface

showErrors() protected method

protected showErrors ( $errors )

storeConfiguration() protected method

protected storeConfiguration ( )

writeSettings() protected method

protected writeSettings ( )

Property Details

$application protected property

protected Application,Illuminate\Contracts\Foundation $application
return Illuminate\Contracts\Foundation\Application

$dataSource protected property

protected DataProviderInterface,Flarum\Install\Console $dataSource
return Flarum\Install\Console\DataProviderInterface

$filesystem protected property

protected Filesystem,Illuminate\Filesystem $filesystem
return Illuminate\Filesystem\Filesystem