Documentation

SystemCallResult
in package
implements Stringable

Components\Component\Task\SystemCallResult:: Holds Output, Return code etc

Copyright 2011-2019 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Tags
category

Horde

author

Ralf Lang lang@b1-systems.de

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Interfaces, Classes, Traits and Enums

Stringable

Table of Contents

$_fields  : mixed
__construct()  : mixed
__toString()  : string
Return the output string when used as string
getOutputArray()  : array<string|int, string>
Return multiline command output as array of strings
getOutputString()  : string
Return multiline command output as single string
getReturnValue()  : mixed

Properties

Methods

__construct()

public __construct(array<string|int, mixed> $stdout, mixed $retval) : mixed
Parameters
$stdout : array<string|int, mixed>
$retval : mixed
Return values
mixed

__toString()

Return the output string when used as string

public __toString() : string
Return values
string

The string value

getOutputArray()

Return multiline command output as array of strings

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

Command output as an array per line

getOutputString()

Return multiline command output as single string

public getOutputString() : string
Return values
string

Command output as a multiline string

getReturnValue()

public getReturnValue() : mixed
Return values
mixed

Search results