ScopeCrossingInjectionException
class ScopeCrossingInjectionException extends RuntimeException
This exception is thrown when the a scope crossing injection is detected.
Methods
__construct($sourceServiceId, $sourceScope, $destServiceId, $destScope, Exception $previous = null) | ||
getSourceServiceId() | ||
getSourceScope() | ||
getDestServiceId() | ||
getDestScope() |
Details
__construct($sourceServiceId, $sourceScope, $destServiceId, $destScope, Exception $previous = null)
Parameters
$sourceServiceId | ||
$sourceScope | ||
$destServiceId | ||
$destScope | ||
Exception | $previous |
getSourceServiceId()
getSourceScope()
getDestServiceId()
getDestScope()
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/DependencyInjection/Exception/ScopeCrossingInjectionException.html