* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @link http://www.temando.com/ */ class BatchProvider implements BatchProviderInterface { /** * @var BatchInterface */ private $batch; /** * @var OrderInterface[] */ private $orders = []; /** * @return BatchInterface */ public function getBatch() { return $this->batch; } /** * @param BatchInterface $batch * @return void */ public function setBatch(BatchInterface $batch) { $this->batch = $batch; } /** * @return OrderInterface[] */ public function getOrders() { return $this->orders; } /** * @param OrderInterface[] $orders * @return void */ public function setOrders(array $orders) { $this->orders = $orders; } }