Exemplo n.º 1
0
 /**
  * @param \NetBox\ProxyManager\Proxy\Proxy $proxy
  * @throws \OutOfBoundsException
  */
 public function unSelect(Proxy $proxy)
 {
     if (!isset($this->selected[$proxy->getHash()])) {
         throw new \OutOfBoundsException('This proxy not in list: "' . $proxy . '"');
     }
     $this->proxies[] = $proxy;
     unset($this->selected[$proxy->getHash()]);
 }