AdvancedShell

Extends \Shell

Advanced shell with sqldump and statistics

package

AdvancedShell

subpackage

Shell

Methods

Displays a header for the shell

_welcome() 

{@inheritdoc}

getOptionParser() : \ConsoleOptionParser

Response

\ConsoleOptionParser

Shows sql dump

sqlDump(boolean $sorted = false, boolean $clear = true) 

Arguments

$sorted

boolean

Get the queries sorted by time taken, defaults to false.

$clear

boolean

If True the existing log will cleared.

{@inheritdoc}

startup() 

Stop and output statistics

statisticsEnd(string $name) 

Arguments

$name

string

Start statistics

statisticsStart(string $name) 

Arguments

$name

string

Properties

{@inheritdoc}

tasks : array
var

Type(s)

array

{@inheritdoc}

uses : array
var

Type(s)

array

Timer

_startTime : array
var

Type(s)

array