Yar_Client::__construct

(PECL yar >= 1.0.0)

Yar_Client::__constructCreate a client

Opis

final public Yar_Client::__construct ( string $url [, array $options ] )

Create a Yar_Client to a Yar_Server.

Parametry

url

Yar Server URL.

Zwracane wartości

Yar_Client instance.

Przykłady

Przykład #1 Yar_Client::__construct() example

<?php
$client 
= new Yar_Client("http://host/api/");
?>

Powyższy przykład wyświetli coś podobnego do:

Zobacz też:

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top