W3cubDocs

/Symfony 4.1

AutowiringFailedException

class AutowiringFailedException extends RuntimeException

Thrown when a definition cannot be autowired.

Methods

__construct(string $serviceId, string $message = '', int $code = 0, Exception $previous = null)
getServiceId()

Details

__construct(string $serviceId, string $message = '', int $code = 0, Exception $previous = null)

Parameters

string $serviceId
string $message
int $code
Exception $previous

getServiceId()