src/Internal/GeneratorContainer.php
public function send($value)
    {
        $this->validateValidity();
        try {
            $this->g->send($value);
            return;
        } catch (\Throwable $e) {} catch (\Exception $e) {}
        $this->e = $e;
    }
public function send($value)
    {
        $this->validateValidity();
        try {
            $this->g->send($value);
            return;
        } catch (\Throwable $e) {} catch (\Exception $e) {}
        $this->e = $e;
    }
public function send ( $ value ) { $ this -> validateValidity ( ) ; try { $ this -> g -> send ( $ value ) ; return ; } catch ( \ Throwable $ e ) { } catch ( \ Exception $ e ) { } $ this -> e = $ e ; }
Send value into generator.
@param mixed $value
@NOTE: This method returns nothing,
while original generator returns something.
Send value into generator .