symfony/symfony — pull request #4587 by mykehsd (2012-06-15 16:41:37+00:00)
Title: Make sure kernel class exists before using it

Currently, there are checks to make sure the kernel file exists, but it assumes that the class exists within the file. If someone accidentally specifies a namespace, or incorrectly names the class then some errors occur which look like autoloading issues.

This fix makes sure that the class exists before allowing the system to continue.