public function getContent()
    {
        return strtr($this->getRelationStubContent(), [
            '{{name}}'         => $this->name,
            '{{relatedTable}}' => $this->relatedModel->getTable(),
            '{{relatedModel}}' => $this->relatedModel->getClass(),
            '{{foreignKey}}'   => $this->foreignKey,
        ]);
    }
public function getContent()
    {
        return strtr($this->getRelationStubContent(), [
            '{{name}}'         => $this->name,
            '{{relatedTable}}' => $this->relatedModel->getTable(),
            '{{relatedModel}}' => $this->relatedModel->getClass(),
            '{{foreignKey}}'   => $this->foreignKey,
        ]);
    }
public function getContent ( ) { return strtr ( $ this -> getRelationStubContent ( ) , [ '{{name}}' => $ this -> name , '{{relatedTable}}' => $ this -> relatedModel -> getTable ( ) , '{{relatedModel}}' => $ this -> relatedModel -> getClass ( ) , '{{foreignKey}}' => $ this -> foreignKey , ] ) ; }
Retourne le contenu de la relation.

@return string
Retourne le contenu de la relation .