PHP Class Wallabag\CoreBundle\Command\InstallCommand

Inheritance: extends Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand
Afficher le fichier Open project: wallabag/wallabag

Protected Properties

Свойство Type Description
$defaultInput Symfony\Component\Console\Input\InputInterface
$defaultOutput Symfony\Component\Console\Output\OutputInterface
$functionExists array

Méthodes protégées

Méthode Description
checkRequirements ( )
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
runCommand ( string $command, array $parameters = [] ) Run a command.
setupAdmin ( )
setupConfig ( )
setupDatabase ( )

Private Methods

Méthode Description
isDatabasePresent ( ) : boolean Check if the database already exists.
isSchemaPresent ( ) : boolean Check if the schema is already created.

Method Details

checkRequirements() protected méthode

protected checkRequirements ( )

configure() protected méthode

protected configure ( )

execute() protected méthode

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

runCommand() protected méthode

Run a command.
protected runCommand ( string $command, array $parameters = [] )
$command string
$parameters array Parameters to this command (usually 'force' => true)

setupAdmin() protected méthode

protected setupAdmin ( )

setupConfig() protected méthode

protected setupConfig ( )

setupDatabase() protected méthode

protected setupDatabase ( )

Property Details

$defaultInput protected_oe property

protected InputInterface,Symfony\Component\Console\Input $defaultInput
Résultat Symfony\Component\Console\Input\InputInterface

$defaultOutput protected_oe property

protected OutputInterface,Symfony\Component\Console\Output $defaultOutput
Résultat Symfony\Component\Console\Output\OutputInterface

$functionExists protected_oe property

protected array $functionExists
Résultat array