src/Shop/InvoiceManager.php
public function getSourcesByIdsOrSources($invoiceSourceType, array $idsOrSources)
    {
        $results = array();
        foreach ($idsOrSources as $sourceId) {
            $results[] = $this->getSourceByIdOrSource($invoiceSourceType, $sourceId);
        }
        return $results;
    }
public function getSourcesByIdsOrSources($invoiceSourceType, array $idsOrSources)
    {
        $results = array();
        foreach ($idsOrSources as $sourceId) {
            $results[] = $this->getSourceByIdOrSource($invoiceSourceType, $sourceId);
        }
        return $results;
    }
public function getSourcesByIdsOrSources ( $ invoiceSourceType , array $ idsOrSources ) { $ results = array ( ) ; foreach ( $ idsOrSources as $ sourceId ) { $ results [ ] = $ this -> getSourceByIdOrSource ( $ invoiceSourceType , $ sourceId ) ; } return $ results ; }
Creates a set of Invoice Sources given their ids or shop specific sources.

@param string $invoiceSourceType
@param array $idsOrSources
An array with shop specific orders or credit notes or just their ids.

@return \Siel\Acumulus\Invoice\Source[]
A non keyed array with invoice Sources.
Creates a set of Invoice Sources given their ids or shop specific sources .