Jackalope\Transport\DoctrineDBAL\Client::setNamespaces PHP Method

setNamespaces() protected method

Set the namespaces property to an \ArrayObject instance
protected setNamespaces ( array | ArrayObject $namespaces )
$namespaces array | ArrayObject
    protected function setNamespaces($namespaces)
    {
        if ($this->namespaces instanceof \ArrayObject) {
            $this->namespaces->exchangeArray($namespaces);
        } else {
            $this->namespaces = new \ArrayObject($namespaces);
        }
    }