src/Generator/Writer/Model/Steps/StubReplaceRelationData.php
protected function getRelationshipsReplace()
    {
        $totalCount = $this->getTotalRelevantRelationshipCount();

        if ( ! $totalCount) return '';

        $replace = "\n" . $this->getRelationshipsIntro();


        $replace .= $this->getReplaceForNormalRelationships()
                  . $this->getReplaceForSpecialRelationships();

        return $replace;
    }
protected function getRelationshipsReplace()
    {
        $totalCount = $this->getTotalRelevantRelationshipCount();

        if ( ! $totalCount) return '';

        $replace = "\n" . $this->getRelationshipsIntro();


        $replace .= $this->getReplaceForNormalRelationships()
                  . $this->getReplaceForSpecialRelationships();

        return $replace;
    }
protected function getRelationshipsReplace ( ) { $ totalCount = $ this -> getTotalRelevantRelationshipCount ( ) ; if ( ! $ totalCount ) return '' ; $ replace = "\n" . $ this -> getRelationshipsIntro ( ) ; $ replace .= $ this -> getReplaceForNormalRelationships ( ) . $ this -> getReplaceForSpecialRelationships ( ) ; return $ replace ; }
Returns the replacement for the relationships placeholder

@return string
Returns the replacement for the relationships placeholder