PHP Class Fxmlrpc\Proxy

Exibir arquivo Open project: lstrojny/fxmlrpc Class Usage Examples

Public Methods

Method Description
__call ( string $method, array $parameters ) : mixed Invokes remote command
__construct ( fxmlrpc\ClientInterface $client, string $namespaceSeparator = '.', string $namespace = null )
__get ( string $namespace ) : Proxy Returns namespace specific Proxy instance

Protected Methods

Method Description
prependNamespace ( string $string ) : string Prepend namespace if set

Method Details

__call() public method

Invokes remote command
public __call ( string $method, array $parameters ) : mixed
$method string
$parameters array
return mixed

__construct() public method

public __construct ( fxmlrpc\ClientInterface $client, string $namespaceSeparator = '.', string $namespace = null )
$client fxmlrpc\ClientInterface
$namespaceSeparator string
$namespace string

__get() public method

Returns namespace specific Proxy instance
public __get ( string $namespace ) : Proxy
$namespace string
return Proxy

prependNamespace() protected method

Prepend namespace if set
protected prependNamespace ( string $string ) : string
$string string
return string