W3cubDocs

/Symfony 2.8

Symfony\Component\DependencyInjection\Exception\ScopeWideningInjectionException

class ScopeWideningInjectionException extends RuntimeException

Thrown when a scope widening injection is detected.

Methods

__construct($sourceServiceId, $sourceScope, $destServiceId, $destScope, Exception $previous = null)
getSourceServiceId()
getSourceScope()
getDestServiceId()
getDestScope()

Details

public __construct($sourceServiceId, $sourceScope, $destServiceId, $destScope, Exception $previous = null)

Parameters

$sourceServiceId
$sourceScope
$destServiceId
$destScope
Exception $previous

public getSourceServiceId()

public getSourceScope()

public getDestServiceId()

public getDestScope()