PHP Class Wallabag\CoreBundle\Command\InstallCommand

Inheritance: extends Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand
Datei anzeigen Open project: wallabag/wallabag

Protected Properties

Property Type Description
$defaultInput Symfony\Component\Console\Input\InputInterface
$defaultOutput Symfony\Component\Console\Output\OutputInterface
$functionExists array

Protected Methods

Method 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

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

Method Details

checkRequirements() protected method

protected checkRequirements ( )

configure() protected method

protected configure ( )

execute() protected method

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 method

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

setupAdmin() protected method

protected setupAdmin ( )

setupConfig() protected method

protected setupConfig ( )

setupDatabase() protected method

protected setupDatabase ( )

Property Details

$defaultInput protected_oe property

protected InputInterface,Symfony\Component\Console\Input $defaultInput
return Symfony\Component\Console\Input\InputInterface

$defaultOutput protected_oe property

protected OutputInterface,Symfony\Component\Console\Output $defaultOutput
return Symfony\Component\Console\Output\OutputInterface

$functionExists protected_oe property

protected array $functionExists
return array