vendor/odiseoteam/blog-bundle/src/OdiseoBlogBundle.php line 14

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Odiseo\BlogBundle;
  4. use Sylius\Bundle\ResourceBundle\AbstractResourceBundle;
  5. use Sylius\Bundle\ResourceBundle\ResourceBundleInterface;
  6. use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
  7. /**
  8.  * @author Diego D'amico <diego@odiseo.com.ar>
  9.  */
  10. final class OdiseoBlogBundle extends AbstractResourceBundle
  11. {
  12.     protected string $mappingFormat ResourceBundleInterface::MAPPING_YAML;
  13.     /**
  14.      * {@inheritdoc}
  15.      */
  16.     public function getSupportedDrivers(): array
  17.     {
  18.         return [
  19.             SyliusResourceBundle::DRIVER_DOCTRINE_ORM,
  20.         ];
  21.     }
  22.     /**
  23.      * {@inheritdoc}
  24.      */
  25.     protected function getModelNamespace(): ?string
  26.     {
  27.         return 'Odiseo\BlogBundle\Model';
  28.     }
  29. }