vendor/uvdesk/core-framework/DependencyInjection/BundleConfiguration.php line 12

Open in your IDE?
  1. <?php
  2. namespace Webkul\UVDesk\CoreFrameworkBundle\DependencyInjection;
  3. use Symfony\Component\Config\Definition\Builder\TreeBuilder;
  4. use Symfony\Component\Config\Definition\ConfigurationInterface;
  5. class BundleConfiguration implements ConfigurationInterface
  6. {
  7.     public function getConfigTreeBuilder()
  8.     {
  9.         $treeBuilder = new TreeBuilder();
  10.         $treeBuilder->root('uvdesk')
  11.             ->children()
  12.                 ->node('site_url''scalar')->defaultValue('127.0.0.1')->end()
  13.                 ->node('upload_manager''array')
  14.                     ->children()
  15.                         ->node('id''scalar')->defaultValue('uvdesk.core.fs.upload.manager')->end()
  16.                     ->end()
  17.                 ->end()
  18.                 ->node('support_email''array')
  19.                     ->children()
  20.                         ->node('id''scalar')->defaultValue('support@localhost')->end()
  21.                         ->node('name''scalar')->defaultValue('UVDesk Community')->end()
  22.                         ->node('mailer_id''scalar')->defaultValue('default')->end()
  23.                     ->end()
  24.                 ->end()
  25.                 ->node('default''array')
  26.                     ->children()
  27.                         ->node('ticket''array')
  28.                             ->children()
  29.                                 ->node('type''scalar')->defaultValue('support')->end()
  30.                                 ->node('status''scalar')->defaultValue('open')->end()
  31.                                 ->node('priority''scalar')->defaultValue('low')->end()
  32.                             ->end()
  33.                         ->end()
  34.                         ->node('templates''array')
  35.                             ->children()
  36.                                 ->node('email''scalar')->defaultValue('mail.html.twig')->end()
  37.                             ->end()
  38.                         ->end()
  39.                     ->end()
  40.                 ->end()
  41.             ->end();
  42.         return $treeBuilder;
  43.     }
  44. }