public function deleteConnection($offset)
    {
        if(isset($this->connections[$offset]))
        {
            unset($this->connections[$offset]);
        }

        return $this;
    }
public function deleteConnection($offset)
    {
        if(isset($this->connections[$offset]))
        {
            unset($this->connections[$offset]);
        }

        return $this;
    }
public function deleteConnection ( $ offset ) { if ( isset ( $ this -> connections [ $ offset ] ) ) { unset ( $ this -> connections [ $ offset ] ) ; } return $ this ; }
delete a connection in capsule

@param mixed $offset
@return $this
delete a connection in capsule