PHP Class Redaxscript\Client\ClientAbstract

Since: 2.4.0
Author: Henry Ruhs
Show file Open project: redaxmedia/redaxscript

Protected Properties

Property Type Description
$_output mixed output of the client
$_request object instance of the request class

Public Methods

Method Description
__construct ( Request $request ) constructor of the class
getOutput ( ) : string get the output

Protected Methods

Method Description
_detect ( array $setupArray = [], string $type = null ) detect the required type

Method Details

__construct() public method

constructor of the class
Since: 2.4.0
public __construct ( Request $request )
$request Redaxscript\Request instance of the request class

_detect() protected method

detect the required type
Since: 2.4.0
protected _detect ( array $setupArray = [], string $type = null )
$setupArray array array of client setup
$type string type of the client

getOutput() public method

get the output
Since: 2.4.0
public getOutput ( ) : string
return string

Property Details

$_output protected property

output of the client
protected mixed $_output
return mixed

$_request protected property

instance of the request class
protected object $_request
return object