Task #46009

Improve error message for missing class in Flow annotation driver

Added by Christopher Hlubek over 8 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Persistence
Target version:
-
Start date:
2013-03-04
Due date:
% Done:

0%

Estimated time:
Sprint:
PHP Version:
Has patch:
No
Complexity:

Description

The Flow annotation driver will throw an error if a class is not found in the class schema. The error could be more helpful for missing classes or wrongly named classes if it would check if the class exists at all.

Uncaught Exception
    No class schema found for

  "MyVendor\MyProject\Domain\Model\Bar".
    The class should probably marked as entity or value object! This
  happened
    while examining
    "MyVendor\MyProject\Domain\Model\Foo" 

No data to display

Also available in: Atom PDF