Documentation

ExecutionResultInterface extends Stringable

The results of an executed command

TODO: Figure where we can put this for reuse without creating an ever-growing blob

Tags
author

Ralf Lang ralf.lang@ralf-lang.de

copyright

2008-2022 Horde LLC

Table of Contents

__toString()  : string
The execution's output as a string - Stringable interface
getOutputArray()  : array<string|int, string>
The execution's output as potentially empty array of strings
getOutputString()  : string
The execution's output as a string
getReturnCode()  : int
The return code of an execution or null

Methods

__toString()

The execution's output as a string - Stringable interface

public __toString() : string
Return values
string

getOutputArray()

The execution's output as potentially empty array of strings

public getOutputArray() : array<string|int, string>
Return values
array<string|int, string>

getOutputString()

The execution's output as a string

public getOutputString() : string
Return values
string

getReturnCode()

The return code of an execution or null

public getReturnCode() : int
Return values
int

Search results