update : 2015.11.03
php.shukuma.com

검색:
 
 
Create a client

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/");
?>

위 예제의 출력 예시:

참고