SharedWorker.php
public function stop()
    {
        if ($this->adminCookie === null) {
            throw new Exception\LogicException('Cannot stop a shared worker without an admin cookie');
        }
        AdminEncoding::sendStopMessage($this->channel, $this->adminCookie);

        return $this;
    }
public function stop()
    {
        if ($this->adminCookie === null) {
            throw new Exception\LogicException('Cannot stop a shared worker without an admin cookie');
        }
        AdminEncoding::sendStopMessage($this->channel, $this->adminCookie);

        return $this;
    }
public function stop ( ) { if ( $ this -> adminCookie === null ) { throw new Exception \ LogicException ( 'Cannot stop a shared worker without an admin cookie' ) ; } AdminEncoding :: sendStopMessage ( $ this -> channel , $ this -> adminCookie ) ; return $ this ; }
@throws Exception\LogicException
@throws Exception\RuntimeException

@return $this
@throws Exception \ LogicException @throws Exception \ RuntimeException