Php/docs/parallel-events-input.add

来自菜鸟教程
跳转至:导航、​搜索

parallel\Events\Input::add

(0.9.0)

parallel\Events\Input::addInputs


说明

public parallel\Events\Input::add ( string $target , mixed $value ) : void

Shall set input for the given target


Exceptions

Warning Shall throw parallel\Events\Input\Error\Existence if input for target already exists.


Warning Shall throw parallel\Events\Input\Error\IllegalValue if value is illegal (object, null).