Пример #1
0
 /**
  * Fetch Journal from store
  *
  * @return Journal
  * @throws JournalException
  */
 public function fetchJournal()
 {
     if (empty($this->journalist)) {
         throw new JournalException(self::ERR1);
     }
     return $this->journalist->readJournal();
 }
Пример #2
0
 /**
  * Read all transactions for an account
  *
  * @param Nominal $nominal
  * @return array [SplitTransaction,...]
  */
 public function readTransactions(Nominal $nominal)
 {
     return $this->journalist->readTransactions($nominal);
 }