View file vendor/php-di/php-di/src/Definition/Source/MutableDefinitionSource.php

File size: 349B
  1. <?php
  2.  
  3. declare(strict_types=1);
  4.  
  5. namespace DI\Definition\Source;
  6.  
  7. use DI\Definition\Definition;
  8.  
  9. /**
  10. * Describes a definition source to which we can add new definitions.
  11. *
  12. * @author Matthieu Napoli <matthieu@mnapoli.fr>
  13. */
  14. interface MutableDefinitionSource extends DefinitionSource
  15. {
  16. public function addDefinition(Definition $definition);
  17. }