parallel\Events\Input::add
(0.9.0)
parallel\Events\Input::add — Inputs
说明
public parallel\Events\Input::add(string$target
, mixed $value
): void
Shall set input for the given target
Exceptions
警告Shall throw parallel\Events\Input\Error\Existence if input for target already exists.
警告
Shall throw parallel\Events\Input\Error\IllegalValue if value is illegal (object, null
).
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/parallel-events-input.add.php