src/ForkManager.php
public function setShareResult($b) {
        if ($this->isStarted) {
            throw new Exception\RuntimeException('Invalid timeout value');
        }
        $this->shareResult = $b;
        return $this;
    }
public function setShareResult($b) {
        if ($this->isStarted) {
            throw new Exception\RuntimeException('Invalid timeout value');
        }
        $this->shareResult = $b;
        return $this;
    }
public function setShareResult ( $ b ) { if ( $ this -> isStarted ) { throw new Exception \ RuntimeException ( 'Invalid timeout value' ) ; } $ this -> shareResult = $ b ; return $ this ; }
Set flag to share result
@param bool $b
@return ForkManager
Set flag to share result