|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
-
- namespace Lc\ShopBundle\Services;
-
- use Cocur\Slugify\Slugify;
- use Doctrine\ORM\EntityManagerInterface;
- use EasyCorp\Bundle\EasyAdminBundle\Configuration\ConfigManager;
- use Lc\ShopBundle\Context\MerchantUtilsInterface;
- use Lc\ShopBundle\Context\PageInterface;
- use Lc\ShopBundle\Context\PointSaleInterface;
- use Lc\ShopBundle\Context\ReminderInterface;
- use Lc\ShopBundle\Context\TaxRateInterface;
- use Lc\ShopBundle\Context\UnitInterface;
- use Lc\ShopBundle\Context\UserInterface;
- use Lc\ShopBundle\Context\UserPointSaleInterface;
- use Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface;
- use Symfony\Component\HttpFoundation\ParameterBag;
- use Symfony\Component\HttpFoundation\Session\SessionInterface;
- use Symfony\Contracts\Translation\TranslatorInterface;
-
- class CsvGenerator
- {
- protected $em ;
- protected $parameterBag ;
- protected $merchantUtils ;
- protected $session;
- protected $translator;
- protected $configManager;
- protected $arrayToExport;
- protected $columns;
-
-
- public function __construct()
- {
-
- }
-
- public function setColumns($columns){
- $this->columns = $columns;
- }
-
- public function setCell($row, $column, $value){
- $this->arrayToExport[$row][$column] = $value;
- }
-
-
-
- }
|