Mariusz Soltys
Mariusz Soltys
Just add in, I'm working in Laravel with Laravel-doctrine package. Any help will be greatly appreciated. Thanks
I've found that autocompletion didn't work when mappings are set to PHP attributes and having `targetEntity` typed as string, ie: This doesn't work: `#[ORM\OneToOne(targetEntity: 'App\Entities\Employees')]` `#[ORM\OneToOne(targetEntity: '\App\Entities\Employees')]` This works: `#[ORM\OneToOne(targetEntity:...
> @soltmar Indeed, it appears that the code then expects that the `targetEntity` of the attribute is a class constant: > > https://github.com/Haehnchen/idea-php-symfony2-plugin/blob/e73cff8726853a70a54f2453c4a22011af67bb2e/src/main/java/fr/adrienbrault/idea/symfony2plugin/doctrine/metadata/driver/DoctrinePhpAttributeMappingDriver.java#L93-L99 > > But this portion is probably...