src/Application/Process/ProcessBuilder.php
public function input($input): ProcessBuilder
    {
        if ($input === null) {
            $this->input = null;

            return $this;
        }

        if (is_resource($input)) {
            $this->input = $input;

            return $this;
        }

        if (is_scalar($input)) {
            $this->input = (string) $input;
        }

        return $this;
    }
public function input($input): ProcessBuilder
    {
        if ($input === null) {
            $this->input = null;

            return $this;
        }

        if (is_resource($input)) {
            $this->input = $input;

            return $this;
        }

        if (is_scalar($input)) {
            $this->input = (string) $input;
        }

        return $this;
    }
public function input ( $ input ) : ProcessBuilder { if ( $ input === null ) { $ this -> input = null ; return $ this ; } if ( is_resource ( $ input ) ) { $ this -> input = $ input ; return $ this ; } if ( is_scalar ( $ input ) ) { $ this -> input = ( string ) $ input ; } return $ this ; }
Sets the input

@param resource|string|null $input The input

@return ProcessBuilder
Sets the input