PHP Class Oara\Curl\Request

Author: Carlos Morillo Merino
Show file Open project: fubralimited/php-oara

Public Methods

Method Description
__construct ( $url, array $parameters ) Request constructor.
getParameter ( $index ) : mixed
getParameters ( ) : array | string
getUrl ( ) : string
setParameters ( $parameters )
setUrl ( $url )

Method Details

__construct() public method

Request constructor.
public __construct ( $url, array $parameters )
$url
$parameters array

getParameter() public method

public getParameter ( $index ) : mixed
$index
return mixed

getParameters() public method

public getParameters ( ) : array | string
return array | string

getUrl() public method

public getUrl ( ) : string
return string

setParameters() public method

public setParameters ( $parameters )
$parameters

setUrl() public method

public setUrl ( $url )
$url