W3cubDocs

/Symfony 2.8

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException

class ServiceNotFoundException extends InvalidArgumentException

This exception is thrown when a non-existent service is requested.

Methods

__construct($id, $sourceId = null, Exception $previous = null, array $alternatives = array())
getId()
getSourceId()

Details

public __construct($id, $sourceId = null, Exception $previous = null, array $alternatives = array())

Parameters

$id
$sourceId
Exception $previous
array $alternatives

public getId()

public getSourceId()