API Documentation

ValidateCommand extends Command
in package
uses TracksExecutionTime

Run a series of tests to validate your setup and help you optimize your site.

Table of Contents

Properties

$description  : string
$help  : string
$service  : ValidationService
$signature  : string
$timeStart  : float

Methods

__construct()  : mixed
handle()  : int
getCheckTime()  : string
getExecutionTimeInMs()  : int|float
getExecutionTimeString()  : string
runCheck()  : void
startClock()  : void
stopClock()  : float
timeTotal()  : string

Properties

$description

protected string $description = 'Test and validate your project to optimize your site'

$help

protected string $help = 'Run a series of tests to validate your setup and help you optimize your site'

Methods

getCheckTime()

protected getCheckTime(float $timeStart) : string
Parameters
$timeStart : float
Return values
string

getExecutionTimeInMs()

protected getExecutionTimeInMs() : int|float
Return values
int|float

getExecutionTimeString()

protected getExecutionTimeString() : string
Return values
string

runCheck()

protected runCheck(string $check) : void
Parameters
$check : string

        
On this page

Search results