Symfony2 API
Class

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

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

Parameters

$sourceServiceId
$sourceScope
$destServiceId
$destScope
Exception $previous

at line 46
public getSourceServiceId()

at line 51
public getSourceScope()

at line 56
public getDestServiceId()

at line 61
public getDestScope()