private function output($installments, $maxInstallment)
    {
        return ($maxInstallment) ?
            $this->formatOutput($this->getMaxInstallment($installments)) :
            $this->formatOutput($installments);
    }
private function output($installments, $maxInstallment)
    {
        return ($maxInstallment) ?
            $this->formatOutput($this->getMaxInstallment($installments)) :
            $this->formatOutput($installments);
    }
private function output ( $ installments , $ maxInstallment ) { return ( $ maxInstallment ) ? $ this -> formatOutput ( $ this -> getMaxInstallment ( $ installments ) ) : $ this -> formatOutput ( $ installments ) ; }
Return a formated output of installments

@param array $installments
@param bool $maxInstallments
@return array
Return a formated output of installments