We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
/** * @solr\Field(type="strings", getter="getName") * * @Orm\ManyToMany(targetEntity="App\Entity\Vocabulary\Classificator") * @Orm\JoinTable(name="object_classificator_district", * joinColumns={@Orm\JoinColumn(name="object_id", referencedColumnName="id")}, * inverseJoinColumns={@Orm\JoinColumn(name="classificator_id", referencedColumnName="id")} * ) */ private $districts;
And I get the following error during population: A error occurs: No method "getName()" found in class "Doctrine\ORM\PersistentCollection"
How to index ManyToMany in Symfony 4?
The text was updated successfully, but these errors were encountered:
I've just made a pull request #202 to fix a similar issue with one to many .. you can check if it works with your issue too ?
Sorry, something went wrong.
No branches or pull requests
/**
* @solr\Field(type="strings", getter="getName")
*
* @Orm\ManyToMany(targetEntity="App\Entity\Vocabulary\Classificator")
* @Orm\JoinTable(name="object_classificator_district",
* joinColumns={@Orm\JoinColumn(name="object_id", referencedColumnName="id")},
* inverseJoinColumns={@Orm\JoinColumn(name="classificator_id", referencedColumnName="id")}
* )
*/
private $districts;
And I get the following error during population:
A error occurs: No method "getName()" found in class "Doctrine\ORM\PersistentCollection"
How to index ManyToMany in Symfony 4?
The text was updated successfully, but these errors were encountered: