public function adapter($adapter = null) { if ($adapter === null) { return $this->_adapter; } $this->_adapter = $adapter; }