Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Those class_exists() check don't work with class manifests. Check the logic in ClassManifestVisitor - it just parses PHP until it finds class definitions. Which means you'll have those files in the manifest, but when dev/build tries to instantiate them it fails with an InjectorNotFoundException. We could argue that this should be fixed in core, but I'm not sure that this style of conditional classes needs to be supported.
- Loading branch information