src/Shop/BatchForm.php
protected function getInvoiceSourceReferenceList(array $invoiceSources)
    {
        $result = array();
        foreach ($invoiceSources as $invoiceSource) {
            $result[] = $invoiceSource->getReference();
        }
        return '{' . implode(',', $result) . '}';
    }
protected function getInvoiceSourceReferenceList(array $invoiceSources)
    {
        $result = array();
        foreach ($invoiceSources as $invoiceSource) {
            $result[] = $invoiceSource->getReference();
        }
        return '{' . implode(',', $result) . '}';
    }
protected function getInvoiceSourceReferenceList ( array $ invoiceSources ) { $ result = array ( ) ; foreach ( $ invoiceSources as $ invoiceSource ) { $ result [ ] = $ invoiceSource -> getReference ( ) ; } return '{' . implode ( ',' , $ result ) . '}' ; }
Returns a formatted string with the list of ids of the given sources.

@param \Siel\Acumulus\Invoice\Source[] $invoiceSources

@return string
A loggable (formatted) string with a list of ids of the sources.
Returns a formatted string with the list of ids of the given sources .