Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An example of a many-to-many relationship from the documentation gives an error #94

Closed
Concentum opened this issue Oct 5, 2021 · 1 comment

Comments

@Concentum
Copy link

Concentum commented Oct 5, 2021

Type: Cycle\Annotated\Exception\AnnotationException
Code: 0
Message: [Semantical Error] The annotation "@manytomany" in property App\Entity\Post::$tags was never imported. Did you maybe forget to add a "use" statement for this annotation?
File: /var/www/api/vendor/cycle/annotated/src/Configurator.php
Line: 96

I did not give the code because it is incorrectly formatted here. In any case, this is a fragment from the documentation

@Concentum
Copy link
Author

use Cycle\Annotated\Annotation\Relation\ManyToMany;
but, there is nothing about this in the documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant