findAll() public method

Returns all the documents within this repo.
public findAll ( ) : array
return array An array of Documents.
 /**
  * @return EncryptedTransaction[]
  */
 public function findAll()
 {
     /** @var EncryptedTransactionDocument[] $result */
     $result = $this->repository->findAll();
     $encryptedTransactions = $this->documentArrayToObjectArray($result);
     return $encryptedTransactions;
 }
 /**
  * @return Wallet[]
  */
 public function findAll()
 {
     /** @var EncryptedWalletDocument[] $result */
     $result = $this->repository->findAll();
     $wallets = $this->documentArrayToObjectArray($result);
     return $wallets;
 }
 public function testRenamingDocumentChangesDocumentID()
 {
     if (!is_dir('/tmp/flywheel')) {
         mkdir('/tmp/flywheel');
     }
     $config = new Config('/tmp/flywheel');
     $repo = new Repository('_pages', $config);
     $doc = new Document(array('test' => '123'));
     $doc->setId('testdoc123');
     $repo->store($doc);
     rename('/tmp/flywheel/_pages/testdoc123.json', '/tmp/flywheel/_pages/newname.json');
     foreach ($repo->findAll() as $document) {
         if ('newname' === $document->getId()) {
             return true;
         }
     }
     $this->fail('No file found with the new ID');
 }
 /**
  * @return EncryptedAddress[]
  */
 public function findAll()
 {
     $result = $this->repository->findAll();
     $encryptedAddresses = $this->documentArrayToObjectArray($result);
     return $encryptedAddresses;
 }