PHP Class Sylius\Bundle\CoreBundle\Installer\Provider\DatabaseSetupCommandsProvider

Author: Mateusz Zalewski ([email protected])
Inheritance: implements Sylius\Bundle\CoreBundle\Installer\Provider\DatabaseSetupCommandsProviderInterface
ファイルを表示 Open project: sylius/sylius

Public Methods

Method Description
__construct ( Doctrine\Bundle\DoctrineBundle\Registry $doctrineRegistry )
getCommands ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Helper\QuestionHelper $questionHelper )

Private Methods

Method Description
getDatabaseName ( ) : string
getRequiredCommands ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Helper\QuestionHelper $questionHelper ) : array
getSchemaManager ( ) : Doctrine\DBAL\Schema\AbstractSchemaManager
isDatabasePresent ( ) : boolean
isSchemaPresent ( ) : boolean
setupDatabase ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Helper\QuestionHelper $questionHelper ) : array

Method Details

__construct() public method

public __construct ( Doctrine\Bundle\DoctrineBundle\Registry $doctrineRegistry )
$doctrineRegistry Doctrine\Bundle\DoctrineBundle\Registry

getCommands() public method

public getCommands ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Helper\QuestionHelper $questionHelper )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$questionHelper Symfony\Component\Console\Helper\QuestionHelper