/** * @param \Molino\SelectQueryInterface $query * @return type */ public function findOrder(SelectQueryInterface $query) { $order = $query->one(); /* $items = []; foreach ($order->getItems() as $item) { $items[] = $item; } $order->setItems($items); */ return $order; }
/** * @param \Molino\SelectQueryInterface $query * @return \Vespolina\Entity\Taxonomy\TaxonomyNodeInterface */ public function findTaxonomyNodes(SelectQueryInterface $query) { return $query->all(); }
/** * @param \Molino\SelectQueryInterface $query * @return \Vespolina\Entity\Invoice\InvoiceInterface */ public function findInvoices(SelectQueryInterface $query) { return $query->all(); }
/** * @param \Molino\SelectQueryInterface $query * @return \Vespolina\Entity\Billing\BillingRequestInterface */ public function findBillingRequests(SelectQueryInterface $query) { return $query->all(); }
/** * @param \Molino\SelectQueryInterface $query * @return \Vespolina\Entity\Partner\PartnerInterface */ public function findPartners(SelectQueryInterface $query) { return $query->all(); }