parallel\Events\Input::add

Inputs

Description

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

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).