Relation definition through mapping is more prior to defined in class
public getRelationDefinition ( ) : array | ||
return | array | definition of relations |
public function __construct(Document $document = null) { $this->document = $document; $this->relations = $document->getRelationDefinition(); }