\App\ConsoleModule\CommandsDatabaseCreateCommand

Summary

Methods
Properties
Constants
__construct()
No public properties found
No constants found
configure()
execute()
$defaultName
N/A
No private methods found
$managerRegistry
N/A

Properties

$defaultName

$defaultName : string

Type

normal — Command name

$managerRegistry

$managerRegistry : \Doctrine\Persistence\ManagerRegistry

Type

\Doctrine\Persistence\ManagerRegistry

Methods

__construct()

__construct(\Doctrine\Persistence\ManagerRegistry  $managerRegistry, string|null  $name = null) : mixed

Constructor

Parameters

\Doctrine\Persistence\ManagerRegistry $managerRegistry

Manager registry

string|null $name

Command name

Returns

mixed

configure()

configure() : void

Configures the database create command

execute()

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

Executes the database create command

Parameters

\Symfony\Component\Console\Input\InputInterface $input

Command input

\Symfony\Component\Console\Output\OutputInterface $output

Command output

Returns

int —

Exit code