protected function addEmbeddedRelation(string $relation)
    {
        if (!in_array($relation, $this->embeddedRelations)) {
            $this->embeddedRelations[] = $relation;
        }
    }
protected function addEmbeddedRelation(string $relation)
    {
        if (!in_array($relation, $this->embeddedRelations)) {
            $this->embeddedRelations[] = $relation;
        }
    }
protected function addEmbeddedRelation ( string $ relation ) { if ( ! in_array ( $ relation , $ this -> embeddedRelations ) ) { $ this -> embeddedRelations [ ] = $ relation ; } }
Add an embedded relation.

@param string $relation
Add an embedded relation .