public function io(Interactor $io = null)
    {
        if ($io || !$this->io) {
            $this->io = $io ?? new Interactor;
        }

        if (\func_num_args() === 0) {
            return $this->io;
        }

        return $this;
    }
public function io(Interactor $io = null)
    {
        if ($io || !$this->io) {
            $this->io = $io ?? new Interactor;
        }

        if (\func_num_args() === 0) {
            return $this->io;
        }

        return $this;
    }
public function io ( Interactor $ io = null ) { if ( $ io || ! $ this -> io ) { $ this -> io = $ io ?? new Interactor ; } if ( \ func_num_args ( ) === 0 ) { return $ this -> io ; } return $ this ; }
Gets or sets io.

@param Interactor|null $io

@return Interactor|self
Gets or sets io .