vendor/sylius/sylius/src/Sylius/Bundle/TaxonomyBundle/SyliusTaxonomyBundle.php line 19

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Sylius package.
  4.  *
  5.  * (c) Paweł Jędrzejewski
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. declare(strict_types=1);
  11. namespace Sylius\Bundle\TaxonomyBundle;
  12. use Sylius\Bundle\ResourceBundle\AbstractResourceBundle;
  13. use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
  14. final class SyliusTaxonomyBundle extends AbstractResourceBundle
  15. {
  16.     public function getSupportedDrivers(): array
  17.     {
  18.         return [
  19.             SyliusResourceBundle::DRIVER_DOCTRINE_ORM,
  20.             SyliusResourceBundle::DRIVER_DOCTRINE_MONGODB_ODM,
  21.         ];
  22.     }
  23.     /**
  24.      * @psalm-suppress MismatchingDocblockReturnType https://github.com/vimeo/psalm/issues/2345
  25.      */
  26.     protected function getModelNamespace(): string
  27.     {
  28.         return 'Sylius\Component\Taxonomy\Model';
  29.     }
  30. }