Yar_Client::__construct

(PECL yar >= 1.0.0)

Yar_Client::__constructCreate a client

설명

final public Yar_Client::__construct ( string $url )

Create a Yar_Client to a Yar_Server.

인수

url

Yar Server URL.

반환값

Yar_Client instance.

예제

Example #1 Yar_Client::__construct() example

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

위 예제의 출력 예시:

참고

add a note add a note

User Contributed Notes

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