getRelationshipsPrimaryMeta() public méthode

Get get relationships meta when the resource is primary.
public getRelationshipsPrimaryMeta ( object $resource ) : mixed
$resource object
Résultat mixed
 /**
  * @inheritdoc
  */
 public function getRelationshipsPrimaryMeta()
 {
     if ($this->isRelPrimaryMetaSet === false) {
         $this->relPrimaryMeta = $this->schema->getRelationshipsPrimaryMeta($this->resource);
         $this->isRelPrimaryMetaSet = true;
     }
     return $this->relPrimaryMeta;
 }