No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Configuration.php 620B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace Logipro\Bundle\SCORMBundle\DependencyInjection;
  3. use Symfony\Component\Config\Definition\Builder\TreeBuilder;
  4. use Symfony\Component\Config\Definition\ConfigurationInterface;
  5. class Configuration implements ConfigurationInterface
  6. {
  7. public function getConfigTreeBuilder()
  8. {
  9. $treeBuilder = new TreeBuilder('logipro_scorm');
  10. $treeBuilder->getRootNode()
  11. ->children()
  12. ->scalarNode('package_folder')
  13. ->isRequired()
  14. ->cannotBeEmpty()
  15. ->end()
  16. ->end()
  17. ;
  18. return $treeBuilder;
  19. }
  20. }