2 つのエンティティがあります。BusinessContactInformation および ContactInformationTypes。BusinessContactInformation の 1 つのエンティティは、常に特定の ContactInformationType です。
ただし、タイプ BusinessContactInformation のエンティティを読み込もうとすると、次のエラーが発生します。
致命的なエラー: require(): 必要な '/var/tmp//_ CG _platformentitiesContactinformationtypes.php' を開くことができませんでした
エンティティは両方とも \platform\entities 名前空間にあり、次の注釈があります。
/**
* Businesscontactinformation
*
* @Table(name="businessContactInformation")
* @Entity
*/
(...)
/**
* @var Contactinformationtypes
*
* @ManyToOne(targetEntity="Contactinformationtypes")
* @JoinColumns({
* @JoinColumn(name="contactTypeId", referencedColumnName="id")
* })
*/
private $contacttypeid;
連絡先情報タイプ:
/**
* Contactinformationtypes
*
* @Table(name="contactInformationTypes")
* @Entity
*/
誰がこれを引き起こしているのかの手がかりを持っていますか? 私はすべての関係でこれを抱えています-1対多、多対1、... .