W3cubDocs

/Symfony 2.8

Symfony\Component\DependencyInjection\Exception\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

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

Parameters

$sourceServiceId
$sourceScope
$destServiceId
$destScope
Exception $previous

public getSourceServiceId()

public getSourceScope()

public getDestServiceId()

public getDestScope()