public function getTransaction(string $name)
    {
        $transaction = $this->transactionsStore->fetch($name);
        if ($transaction === null) {
            throw new UnknownTransactionException($name);
        }

        return $transaction;
    }
public function getTransaction(string $name)
    {
        $transaction = $this->transactionsStore->fetch($name);
        if ($transaction === null) {
            throw new UnknownTransactionException($name);
        }

        return $transaction;
    }
public function getTransaction ( string $ name ) { $ transaction = $ this -> transactionsStore -> fetch ( $ name ) ; if ( $ transaction === null ) { throw new UnknownTransactionException ( $ name ) ; } return $ transaction ; }
Get a Transaction

@throws \PhilKra\Exception\Transaction\UnknownTransactionException

@param string $name

@return Transaction
Get a Transaction