ScopeWideningException.php 432 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace Symfony\Component\DependencyInjection\Exception;
  3. /**
  4. * Thrown when a scope widening injection is detected.
  5. *
  6. * @author Johannes M. Schmitt <schmittjoh@gmail.com>
  7. */
  8. class ScopeWideningException extends RuntimeException
  9. {
  10. private $serviceId;
  11. public function setServiceId($id)
  12. {
  13. $this->serviceId = $id;
  14. }
  15. public function getServiceId()
  16. {
  17. return $this->serviceId;
  18. }
  19. }