« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 12 for prototype (0.002 sec.)
ReflectionClass::__construct — ReflectionClass を作成する | PHP 8.3 13849
ReflectionClass::__construct (PHP 5, PHP 7, PHP 8) ReflectionClass::__construct — ReflectionClass を作成する 説明 public function ReflectionClass::__construct ( object | string $objectOrClass ) 新しい ReflectionClass オブジェクトを作成します ... d [ <internal:Core> public method __wakeup ] { - Parameters [0] { } - Tentative return [ void ] } Method [ <internal:Core, prototype Throwable> final public method getMessage ] { - Parameters [0] { } - Return [ string ] } Method [ <internal:Core, prototyp ... e Throwable> final public method getCode ] { - Parameters [0] { } } Method [ <internal:Core, prototype Throwable> final public method getFile ] { - Parameters [0] { } - Return [ string ] } Method [ <internal:Core, prototype T ... hrowable> final public method getLine ] { - Parameters [0] { } - Return [ int ] } Method [ <internal:Core, prototype Throwable> final public method getTrace ] { - Parameters [0] { } - Return [ array ] } Method [ <internal:Core, prototype T ...
https://man.mtool.work/php/8.3/reflectionclass.construct.html
Event callbacks | PHP 8.3 10860
Event callbacks If a callback is registered for an event, it will be called when the event becomes active. To associate a callback with event one can pass a callable to either Event::__construct() , or Event::set() , or one of the factory m ... ethods like Event::timer() . An event callback should match the following prototype: function callback ( mixed $fd = null , int $what = ? , mixed $arg = null ): void fd The file descriptor, stream resource ... r. what Bit mask of all events triggered. arg User custom data. Event::timer() expects the callback to match the following prototype: function callback ( mixed $arg = null ): void arg User custom data. Event::signal() expects the callback to match the fol ... lowing prototype: function callback ( int $signum = ? , mixed $arg = null ): void signum The number of the triggered signal(e.g. SIGTERM ). ...
https://man.mtool.work/php/8.3/event.callbacks.html
About buffer event callbacks | PHP 8.3 9498
About buffer event callbacks An object of EventBufferEvent class represents a buffer event . The asynchronous nature of I/O performed by Libevent implies that a socket(or other kind of file descriptor) is not always available. Event invokes ... or writing, or when some event occurs(e.g. error, "end of line" etc.). Read and write callbacks should match the following prototype: function callback ( EventBufferEvent $bev = null , mixed $arg = null ): void bev Associated EventBufferEvent object. arg ... acks via EventBufferEvent::__construct() , or EventBufferEvent::setCallbacks() . Event callback should match the following prototype: function callback ( EventBufferEvent $bev = null , int $events = 0 , mixed $arg = null ): void bev Associated EventBuffer ...
https://man.mtool.work/php/8.3/eventbufferevent.about.callbacks.html
EventListener::setErrorCallback — Set event listener's error callback | PHP 8.3 8543
EventListener::setErrorCallback (PECL event >= 1.2.6-beta) EventListener::setErrorCallback — Set event listener's error callback 説明 public function EventListener::setErrorCallback ( string $cb ): void Set event listener's error callback パ ... ラメータ cb The error callback. Should match the following prototype: function callback ( EventListener $listener = null , mixed $data = null ): void listener The EventListener object. data U ...
https://man.mtool.work/php/8.3/eventlistener.seterrorcallback.html
CommonMark\CQL::__invoke — CQL Execution | PHP 8.3 8348
CommonMark\CQL::__invoke (cmark >= 1.1.0) CommonMark\CQL::__invoke — CQL Execution 説明 public function CommonMark\CQL::__invoke ( CommonMark\Node $root , callable $handler ) Shall invoke the current CQL function on the given root , executi ... ng the given handler on entry to a CommonMark\Node パラメータ root the root node of a tree handler should have the prototype: function handler ( CommonMark\Node $root , CommonMark\Node $entering ): ? bool Should handler fail to return (void), or r ...
https://man.mtool.work/php/8.3/commonmark-cql.invoke.html
EventListener::setCallback — The setCallback purpose | PHP 8.3 8348
EventListener::setCallback (PECL event >= 1.2.6-beta) EventListener::setCallback — The setCallback purpose 説明 public function EventListener::setCallback ( callable $cb , mixed $arg = null ): void Adjust event connect listener's callback a ... ly the callback argument. パラメータ cb The new callback for new connections. Ignored if null . Should match the following prototype: function callback ( EventListener $listener = null , mixed $fd = null , array $address = null , mixed $arg = null ): void ...
https://man.mtool.work/php/8.3/eventlistener.setcallback.html
EventHttp::setDefaultCallback — Sets default callback to handle requests that a... 8154
EventHttp::setDefaultCallback (PECL event >= 1.4.0-beta) EventHttp::setDefaultCallback — Sets default callback to handle requests that are not caught by specific callbacks 説明 public function EventHttp::setDefaultCallback ( string $cb , st ... dle requests that are not caught by specific callbacks パラメータ cb The callback callable . It should match the following prototype: function callback ( EventHttpRequest $req = NULL , mixed $arg = NULL ): void req EventHttpRequest object. arg Custom data ...
https://man.mtool.work/php/8.3/eventhttp.setdefaultcallback.html
EventHttpRequest::__construct — Constructs EventHttpRequest object | PHP 8.3 7959
EventHttpRequest::__construct (PECL event >= 1.4.0-beta) EventHttpRequest::__construct — Constructs EventHttpRequest object 説明 public function EventHttpRequest::__construct ( callable $callback , mixed $data = null ) Constructs EventHttpR ... equest object. パラメータ callback Gets invoked on requesting path. Should match the following prototype: function callback ( EventHttpRequest $req = null , mixed $arg = null ): void data User custom data passed to the callback ...
https://man.mtool.work/php/8.3/eventhttprequest.construct.html
EventHttpConnection::setCloseCallback — Set callback for connection close | PHP... 7764
EventHttpConnection::setCloseCallback (PECL event >= 1.8.0) EventHttpConnection::setCloseCallback — Set callback for connection close 説明 public function EventHttpConnection::setCloseCallback ( callable $callback , mixed $data = ? ): void ... k for connection close. パラメータ callback Callback which is called when connection is closed. Should match the following prototype: function callback ( EventHttpConnection $conn = null , mixed $arg = null ): void 戻り値 値を返しません。 例 例1 EventHttp ...
https://man.mtool.work/php/8.3/eventhttpconnection.setclosecallback.html
EventHttp::setCallback — Sets a callback for specified URI | PHP 8.3 7658
EventHttp::setCallback (PECL event >= 1.4.0-beta) EventHttp::setCallback — Sets a callback for specified URI 説明 public function EventHttp::setCallback ( string $path , string $cb , string $arg = ? ): void Sets a callback for specified URI ... which to invoke the callback. cb The callback callable that gets invoked on requested path . It should match the following prototype: function callback ( EventHttpRequest $req = NULL , mixed $arg = NULL ): void req EventHttpRequest object. arg Custom data ...
https://man.mtool.work/php/8.3/eventhttp.setcallback.html
PREV 1 2 NEXT