Documentation

OperationMetadata
in package

Read onlyYes
FinalYes

Describes one unity-command operation independently of its result document.

Table of Contents

Methods

__construct()  : mixed
getClassName()  : string
getDuration()  : float
getExitCode()  : int|null
getName()  : string
getPackageName()  : string
getStandardError()  : string
getStandardOutput()  : string
getStartedAt()  : DateTimeImmutable
getTimestamp()  : string
getWarnings()  : array<int, string>

Methods

__construct()

public __construct(string $name[, string $className = 'unity-command' ][, string $packageName = 'slothsoft.unity' ][, DateTimeInterface|null $startedAt = null ][, float $duration = 0.0 ][, string $standardOutput = '' ][, string $standardError = '' ][, array<int, string> $warnings = [] ][, int|null $exitCode = null ]) : mixed
Parameters
$name : string
$className : string = 'unity-command'
$packageName : string = 'slothsoft.unity'
$startedAt : DateTimeInterface|null = null
$duration : float = 0.0
$standardOutput : string = ''
$standardError : string = ''
$warnings : array<int, string> = []
$exitCode : int|null = null

getStandardOutput()

public getStandardOutput() : string
Return values
string

getStartedAt()

public getStartedAt() : DateTimeImmutable
Return values
DateTimeImmutable

getWarnings()

public getWarnings() : array<int, string>
Return values
array<int, string>
On this page

Search results