public function getMetadata($key) { return isset($this->_metadata[$key]) ? $this->_metadata[$key] : null; }