/** * Returns document list * * @return array */ public function getDocumentList() { $this->documentList = $this->adapter->getDocumentList(); foreach ($this->documentList as &$documentName) { $documentName = $this->removeDocumentPrefix($documentName); } return $this->documentList; }