Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ExamplesYar_Server::__construct>
^YarLast updated: Mon, 26 Oct 2026

The Yar_Server class

(No version information available, might only be in Git)

Introduction

Wraps an object and exposes all of its public methods as a remote service, served over HTTP by Yar_Server::handle().

The PHP extension only provides an HTTP server. A TCP and Unix socket server speaking the same Yar protocol is provided by the » Yar C framework.

Class synopsis

class Yar_Server {
/* Properties */
protected object $_executor = null;
/* Methods */
final public function __construct(object $executor)
public function handle(): bool
}

Properties

_executor

The object whose public methods are exposed as RPC services.

Table of Contents


<ExamplesYar_Server::__construct>
^YarLast updated: Mon, 26 Oct 2026