PHP Class EzSystems\PlatformInstallerBundle\Command\InstallPlatformCommand

Inheritance: extends Symfony\Component\Console\Command\Command
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
__construct ( Doctrine\DBAL\Connection $db, array $installers, Symfony\Component\HttpKernel\CacheClearer\CacheClearerInterface $cacheClearer, Symfony\Component\Filesystem\Filesystem $filesystem, $cacheDir, $environment, $searchEngine )

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Private Methods

Method Description
cacheClear ( Symfony\Component\Console\Output\OutputInterface $output )
checkDatabase ( )
checkParameters ( )
checkPermissions ( )
configuredDatabaseExists ( )
executeCommand ( Symfony\Component\Console\Output\OutputInterface $output, string $cmd, integer $timeout = 300 ) Executes a Symfony command in separate process.
getInstaller ( $type ) : EzSystems\PlatformInstallerBundle\Installer\Installer
indexData ( Symfony\Component\Console\Output\OutputInterface $output ) Calls indexing commands on search engines known to need that.

Method Details

__construct() public method

public __construct ( Doctrine\DBAL\Connection $db, array $installers, Symfony\Component\HttpKernel\CacheClearer\CacheClearerInterface $cacheClearer, Symfony\Component\Filesystem\Filesystem $filesystem, $cacheDir, $environment, $searchEngine )
$db Doctrine\DBAL\Connection
$installers array
$cacheClearer Symfony\Component\HttpKernel\CacheClearer\CacheClearerInterface
$filesystem Symfony\Component\Filesystem\Filesystem

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