2 개의 엔티티가 있습니다. BusinessContactInformation 및 ContactInformationTypes. BusinessContactInformation의 한 엔터티는 항상 주어진 ContactInformationType입니다. 나는 형 BusinessContactInformation의 실체를로드 할 때Doctrine2는 관계를 통해 네임 스페이스가있는 클래스를로드 할 수 없습니다.
그러나, 나는이 오류를 얻을 :
Fatal error: require(): Failed opening required '/var/tmp//_CG_platformentitiesContactinformationtypes.php'
엔티티
는 \ 플랫폼 \ 엔티티 네임 스페이스에 모두를, 그들은 다음과 같은 주석이 있습니다/**
* Businesscontactinformation
*
* @Table(name="businessContactInformation")
* @Entity
*/
(...)
/**
* @var Contactinformationtypes
*
* @ManyToOne(targetEntity="Contactinformationtypes")
* @JoinColumns({
* @JoinColumn(name="contactTypeId", referencedColumnName="id")
* })
*/
private $contacttypeid;
그리고 Contactinformationtypes :
/**
* Contactinformationtypes
*
* @Table(name="contactInformationTypes")
* @Entity
*/
가합니까 이걸 일으키는 원인이 무엇인지에 대한 단서가 있습니까? 나는이 관계를 ALL - 1 대 1, 많고 1 대 ....