Mental Space

SchemaDumpCommand extends Command
in package

FinalYes

Command.

Table of Contents

Properties

$pdo  : PDO

Methods

__construct()  : mixed
The constructor.
configure()  : void
Configure.
execute()  : int
Execute command.
query()  : PDOStatement
Create query statement.

Properties

Methods

__construct()

The constructor.

public __construct(PDO $pdo[, string|null $name = null ]) : mixed
Parameters
$pdo : PDO

The database connection

$name : string|null = null

The name

execute()

Execute command.

protected execute(InputInterface $input, OutputInterface $output) : int
Parameters
$input : InputInterface

The input

$output : OutputInterface

The output

Return values
int

The error code, 0 on success

query()

Create query statement.

private query(string $sql) : PDOStatement
Parameters
$sql : string

The sql

Tags
throws
UnexpectedValueException
Return values
PDOStatement

The statement


        
On this page

Search results