public function transferOperations(array $operations)
    {
        foreach ($operations as $operation) {
            try {
                $this->transfer($operation);
                $this->logger->info(
                    "[OK] Transfer operation " . $operation->getTransferId() . " executed",
                    array('miraklId' => $operation->getMiraklId(), "action" => "Transfer")
                );
            } catch (InvalidAmountException $e) {
                $this->logger->info(
                    $e->getMessage(),
                    array('miraklId' => $operation->getMiraklId(), "action" => "Transfer")
                );
            } catch (Exception $e) {
                $this->logger->warning(
                    "[KO] Transfer operation failed",
                    array('miraklId' => $operation->getMiraklId(), "action" => "Transfer")
                );
                $this->handleException($e, 'critical');
            }
        }
    }
public function transferOperations(array $operations)
    {
        foreach ($operations as $operation) {
            try {
                $this->transfer($operation);
                $this->logger->info(
                    "[OK] Transfer operation " . $operation->getTransferId() . " executed",
                    array('miraklId' => $operation->getMiraklId(), "action" => "Transfer")
                );
            } catch (InvalidAmountException $e) {
                $this->logger->info(
                    $e->getMessage(),
                    array('miraklId' => $operation->getMiraklId(), "action" => "Transfer")
                );
            } catch (Exception $e) {
                $this->logger->warning(
                    "[KO] Transfer operation failed",
                    array('miraklId' => $operation->getMiraklId(), "action" => "Transfer")
                );
                $this->handleException($e, 'critical');
            }
        }
    }
public function transferOperations ( array $ operations ) { foreach ( $ operations as $ operation ) { try { $ this -> transfer ( $ operation ) ; $ this -> logger -> info ( "[OK] Transfer operation " . $ operation -> getTransferId ( ) . " executed" , array ( 'miraklId' => $ operation -> getMiraklId ( ) , "action" => "Transfer" ) ) ; } catch ( InvalidAmountException $ e ) { $ this -> logger -> info ( $ e -> getMessage ( ) , array ( 'miraklId' => $ operation -> getMiraklId ( ) , "action" => "Transfer" ) ) ; } catch ( Exception $ e ) { $ this -> logger -> warning ( "[KO] Transfer operation failed" , array ( 'miraklId' => $ operation -> getMiraklId ( ) , "action" => "Transfer" ) ) ; $ this -> handleException ( $ e , 'critical' ) ; } } }
Execute the operation needing transfer.

@param array $operations
Execute the operation needing transfer .